File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -65,15 +65,11 @@ https://tensorflownet.readthedocs.io</Description>
6565
6666 <ItemGroup >
6767 <PackageReference Include =" Google.Protobuf" Version =" 3.11.4" />
68- <PackageReference Include =" NumSharp.Lite" Version =" 0.1.4 " />
68+ <PackageReference Include =" NumSharp.Lite" Version =" 0.1.7 " />
6969 <PackageReference Include =" Protobuf.Text" Version =" 0.4.0" />
7070 </ItemGroup >
7171
7272 <ItemGroup >
7373 <Folder Include =" Keras\Initializers\" />
7474 </ItemGroup >
75-
76- <ItemGroup >
77- <ProjectReference Include =" ..\..\..\NumSharp.Lite\NumSharp\NumSharp.Lite.csproj" />
78- </ItemGroup >
7975</Project >
Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ private unsafe NDArray GetScalar(TF_DataType dtype)
166166 switch ( dtype )
167167 {
168168 case TF_DataType. TF_STRING :
169- return StringData( ) [ 0 ] ;
169+ return ( NDArray ) StringData( ) [ 0 ] ;
170170 case TF_DataType. TF_INT32 :
171171 return * ( int * ) buffer ;
172172 default :
Original file line number Diff line number Diff line change 2020 <ItemGroup >
2121 <PackageReference Include =" BenchmarkDotNet" Version =" 0.12.0" />
2222 <PackageReference Include =" SciSharp.TensorFlow.Redist" Version =" 1.15.1" />
23- <PackageReference Include =" TensorFlow.NET" Version =" 0.15.0 " />
23+ <PackageReference Include =" TensorFlow.NET" Version =" 0.15.1 " />
2424 </ItemGroup >
2525
2626</Project >
You can’t perform that action at this time.
0 commit comments