@@ -49,11 +49,11 @@ static ApiDefReflection() {
4949 "YgZwcm90bzM=" ) ) ;
5050 descriptor = pbr ::FileDescriptor . FromGeneratedCode ( descriptorData ,
5151 new pbr ::FileDescriptor [ ] { global ::Tensorflow . AttrValueReflection . Descriptor , } ,
52- new pbr ::GeneratedClrTypeInfo ( null , new pbr ::GeneratedClrTypeInfo [ ] {
53- new pbr ::GeneratedClrTypeInfo ( typeof ( global ::Tensorflow . ApiDef ) , global ::Tensorflow . ApiDef . Parser , new [ ] { "GraphOpName" , "DeprecationMessage" , "DeprecationVersion" , "Visibility" , "Endpoint" , "InArg" , "OutArg" , "ArgOrder" , "Attr" , "Summary" , "Description" , "DescriptionPrefix" , "DescriptionSuffix" } , null , new [ ] { typeof ( global ::Tensorflow . ApiDef . Types . Visibility ) } , new pbr ::GeneratedClrTypeInfo [ ] { new pbr ::GeneratedClrTypeInfo ( typeof ( global ::Tensorflow . ApiDef . Types . Endpoint ) , global ::Tensorflow . ApiDef . Types . Endpoint . Parser , new [ ] { "Name" , "Deprecated" , "DeprecationVersion" } , null , null , null ) ,
54- new pbr ::GeneratedClrTypeInfo ( typeof ( global ::Tensorflow . ApiDef . Types . Arg ) , global ::Tensorflow . ApiDef . Types . Arg . Parser , new [ ] { "Name" , "RenameTo" , "Description" } , null , null , null ) ,
55- new pbr ::GeneratedClrTypeInfo ( typeof ( global ::Tensorflow . ApiDef . Types . Attr ) , global ::Tensorflow . ApiDef . Types . Attr . Parser , new [ ] { "Name" , "RenameTo" , "DefaultValue" , "Description" } , null , null , null ) } ) ,
56- new pbr ::GeneratedClrTypeInfo ( typeof ( global ::Tensorflow . ApiDefs ) , global ::Tensorflow . ApiDefs . Parser , new [ ] { "Op" } , null , null , null )
52+ new pbr ::GeneratedClrTypeInfo ( null , null , new pbr ::GeneratedClrTypeInfo [ ] {
53+ new pbr ::GeneratedClrTypeInfo ( typeof ( global ::Tensorflow . ApiDef ) , global ::Tensorflow . ApiDef . Parser , new [ ] { "GraphOpName" , "DeprecationMessage" , "DeprecationVersion" , "Visibility" , "Endpoint" , "InArg" , "OutArg" , "ArgOrder" , "Attr" , "Summary" , "Description" , "DescriptionPrefix" , "DescriptionSuffix" } , null , new [ ] { typeof ( global ::Tensorflow . ApiDef . Types . Visibility ) } , null , new pbr ::GeneratedClrTypeInfo [ ] { new pbr ::GeneratedClrTypeInfo ( typeof ( global ::Tensorflow . ApiDef . Types . Endpoint ) , global ::Tensorflow . ApiDef . Types . Endpoint . Parser , new [ ] { "Name" , "Deprecated" , "DeprecationVersion" } , null , null , null , null ) ,
54+ new pbr ::GeneratedClrTypeInfo ( typeof ( global ::Tensorflow . ApiDef . Types . Arg ) , global ::Tensorflow . ApiDef . Types . Arg . Parser , new [ ] { "Name" , "RenameTo" , "Description" } , null , null , null , null ) ,
55+ new pbr ::GeneratedClrTypeInfo ( typeof ( global ::Tensorflow . ApiDef . Types . Attr ) , global ::Tensorflow . ApiDef . Types . Attr . Parser , new [ ] { "Name" , "RenameTo" , "DefaultValue" , "Description" } , null , null , null , null ) } ) ,
56+ new pbr ::GeneratedClrTypeInfo ( typeof ( global ::Tensorflow . ApiDefs ) , global ::Tensorflow . ApiDefs . Parser , new [ ] { "Op" } , null , null , null , null )
5757 } ) ) ;
5858 }
5959 #endregion
@@ -172,7 +172,7 @@ public int DeprecationVersion {
172172
173173 /// <summary>Field number for the "visibility" field.</summary>
174174 public const int VisibilityFieldNumber = 2 ;
175- private global ::Tensorflow . ApiDef . Types . Visibility visibility_ = 0 ;
175+ private global ::Tensorflow . ApiDef . Types . Visibility visibility_ = global :: Tensorflow . ApiDef . Types . Visibility . DefaultVisibility ;
176176 [ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
177177 public global ::Tensorflow . ApiDef . Types . Visibility Visibility {
178178 get { return visibility_ ; }
@@ -325,7 +325,7 @@ public override int GetHashCode() {
325325 if ( GraphOpName . Length != 0 ) hash ^= GraphOpName . GetHashCode ( ) ;
326326 if ( DeprecationMessage . Length != 0 ) hash ^= DeprecationMessage . GetHashCode ( ) ;
327327 if ( DeprecationVersion != 0 ) hash ^= DeprecationVersion . GetHashCode ( ) ;
328- if ( Visibility != 0 ) hash ^= Visibility . GetHashCode ( ) ;
328+ if ( Visibility != global :: Tensorflow . ApiDef . Types . Visibility . DefaultVisibility ) hash ^= Visibility . GetHashCode ( ) ;
329329 hash ^= endpoint_ . GetHashCode ( ) ;
330330 hash ^= inArg_ . GetHashCode ( ) ;
331331 hash ^= outArg_ . GetHashCode ( ) ;
@@ -352,7 +352,7 @@ public void WriteTo(pb::CodedOutputStream output) {
352352 output . WriteRawTag ( 10 ) ;
353353 output . WriteString ( GraphOpName ) ;
354354 }
355- if ( Visibility != 0 ) {
355+ if ( Visibility != global :: Tensorflow . ApiDef . Types . Visibility . DefaultVisibility ) {
356356 output . WriteRawTag ( 16 ) ;
357357 output . WriteEnum ( ( int ) Visibility ) ;
358358 }
@@ -402,7 +402,7 @@ public int CalculateSize() {
402402 if ( DeprecationVersion != 0 ) {
403403 size += 1 + pb ::CodedOutputStream . ComputeInt32Size ( DeprecationVersion ) ;
404404 }
405- if ( Visibility != 0 ) {
405+ if ( Visibility != global :: Tensorflow . ApiDef . Types . Visibility . DefaultVisibility ) {
406406 size += 1 + pb ::CodedOutputStream . ComputeEnumSize ( ( int ) Visibility ) ;
407407 }
408408 size += endpoint_ . CalculateSize ( _repeated_endpoint_codec ) ;
@@ -442,7 +442,7 @@ public void MergeFrom(ApiDef other) {
442442 if ( other . DeprecationVersion != 0 ) {
443443 DeprecationVersion = other . DeprecationVersion ;
444444 }
445- if ( other . Visibility != 0 ) {
445+ if ( other . Visibility != global :: Tensorflow . ApiDef . Types . Visibility . DefaultVisibility ) {
446446 Visibility = other . Visibility ;
447447 }
448448 endpoint_ . Add ( other . endpoint_ ) ;
@@ -478,7 +478,7 @@ public void MergeFrom(pb::CodedInputStream input) {
478478 break ;
479479 }
480480 case 16 : {
481- visibility_ = ( global ::Tensorflow . ApiDef . Types . Visibility ) input . ReadEnum ( ) ;
481+ Visibility = ( global ::Tensorflow . ApiDef . Types . Visibility ) input . ReadEnum ( ) ;
482482 break ;
483483 }
484484 case 26 : {
@@ -1152,7 +1152,7 @@ public void MergeFrom(Attr other) {
11521152 }
11531153 if ( other . defaultValue_ != null ) {
11541154 if ( defaultValue_ == null ) {
1155- defaultValue_ = new global ::Tensorflow . AttrValue ( ) ;
1155+ DefaultValue = new global ::Tensorflow . AttrValue ( ) ;
11561156 }
11571157 DefaultValue . MergeFrom ( other . DefaultValue ) ;
11581158 }
@@ -1180,9 +1180,9 @@ public void MergeFrom(pb::CodedInputStream input) {
11801180 }
11811181 case 26 : {
11821182 if ( defaultValue_ == null ) {
1183- defaultValue_ = new global ::Tensorflow . AttrValue ( ) ;
1183+ DefaultValue = new global ::Tensorflow . AttrValue ( ) ;
11841184 }
1185- input . ReadMessage ( defaultValue_ ) ;
1185+ input . ReadMessage ( DefaultValue ) ;
11861186 break ;
11871187 }
11881188 case 34 : {
0 commit comments