Skip to content

Commit 2afec33

Browse files
committed
use Microsoft.ML.TensorFlow.Redist to maintain TensorFlow library for cross-platform.
1 parent 59672a4 commit 2afec33

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

src/TensorFlowNET.Core/TensorFlowNET.Core.csproj

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,10 @@ Docs: https://tensorflownet.readthedocs.io</Description>
5353

5454
<ItemGroup>
5555
<PackageReference Include="Google.Protobuf" Version="3.8.0" />
56+
<PackageReference Include="Microsoft.ML.TensorFlow.Redist" Version="0.13.0" />
5657
<PackageReference Include="NumSharp" Version="0.10.3" />
5758
</ItemGroup>
5859

59-
<ItemGroup>
60-
<Content CopyToOutputDirectory="PreserveNewest" Include="../../tensorflowlib/runtimes/win-x64/native/tensorflow.dll" Link="tensorflow.dll" Pack="true" PackagePath="../../tensorflowlib/runtimes/win-x64/native/tensorflow.dll" />
61-
<Content CopyToOutputDirectory="PreserveNewest" Include="../../tensorflowlib/runtimes/linux-x64/native/libtensorflow.so" Link="libtensorflow.so" Pack="true" PackagePath="../../tensorflowlib/runtimes/linux-x64/native/libtensorflow.so" />
62-
<Content CopyToOutputDirectory="PreserveNewest" Include="../../tensorflowlib/runtimes/linux-x64/native/libtensorflow_framework.so" Link="libtensorflow_framework.so" Pack="true" PackagePath="../../tensorflowlib/runtimes/linux-x64/native/libtensorflow_framework.so" />
63-
</ItemGroup>
64-
6560
<ItemGroup>
6661
<Folder Include="Distribute\" />
6762
<Folder Include="Keras\Initializers\" />

tensorflowlib/README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
TensorFlow.NET pack all required libraries in architecture-specific assemblies folders per NuGet standard.
1+
TensorFlow.NET pack all required libraries in architecture-specific assemblies folders per NuGet standard [Deprecated] .
2+
3+
We changed to use `Microsoft.ML.TensorFlow.Redist` to maintain the TensorFlow library.
4+
5+
6+
7+
### Download manually
28

39
Here are some pre-built TensorFlow binaries you can use for each platform:
410

-86.4 MB
Binary file not shown.

0 commit comments

Comments
 (0)