File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 <OutputType >Library</OutputType >
88 <RootNamespace >Learn</RootNamespace >
99 <AssemblyName >Learn</AssemblyName >
10- <TargetFrameworkVersion >v4.5 </TargetFrameworkVersion >
10+ <TargetFrameworkVersion >v4.6.1 </TargetFrameworkVersion >
1111 </PropertyGroup >
1212 <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " >
1313 <DebugSymbols >true</DebugSymbols >
Original file line number Diff line number Diff line change 77 <OutputType >Exe</OutputType >
88 <RootNamespace >SampleTest</RootNamespace >
99 <AssemblyName >SampleTest</AssemblyName >
10- <TargetFrameworkVersion >v4.5 </TargetFrameworkVersion >
10+ <TargetFrameworkVersion >v4.6.1 </TargetFrameworkVersion >
1111 </PropertyGroup >
1212 <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " >
1313 <DebugSymbols >true</DebugSymbols >
Original file line number Diff line number Diff line change @@ -1947,6 +1947,13 @@ internal override void NativeDispose (IntPtr handle)
19471947 }
19481948 }
19491949
1950+ /// <summary>
1951+ /// The data type for a specific tensor.
1952+ /// </summary>
1953+ /// <remarks>
1954+ /// Tensors have uniform data types, all the elements of the tensor are of this
1955+ /// type and they dictate how TensorFlow will treat the data stored.
1956+ /// </remarks>
19501957 public enum TFDataType : uint
19511958 {
19521959 Float = 1 ,
@@ -2129,14 +2136,15 @@ public enum TFAttributeType : uint
21292136 [ StructLayout ( LayoutKind . Sequential ) ]
21302137 public struct TFAttributeMetadata
21312138 {
2132- public byte IsList ;
2139+ byte isList ;
2140+ public bool IsList => isList != 0 ;
21332141 public long ListSize ;
21342142 public TFAttributeType Type ;
21352143 public long TotalSize ;
21362144
21372145 public override string ToString ( )
21382146 {
2139- return string . Format ( $ "[TFAttributeMetadata IsList={ IsList != 0 ? true : false } ListSize={ ListSize } Type={ Type } TotalSize={ TotalSize } ]") ;
2147+ return string . Format ( $ "[TFAttributeMetadata IsList={ IsList } ListSize={ ListSize } Type={ Type } TotalSize={ TotalSize } ]") ;
21402148 }
21412149 }
21422150
You can’t perform that action at this time.
0 commit comments