Browse Source

use Microsoft.ML.TensorFlow.Redist to maintain TensorFlow library for cross-platform.

tags/v0.9
Oceania2018 6 years ago
parent
commit
2afec337ff
3 changed files with 8 additions and 7 deletions
  1. +1
    -6
      src/TensorFlowNET.Core/TensorFlowNET.Core.csproj
  2. +7
    -1
      tensorflowlib/README.md
  3. BIN
      tensorflowlib/runtimes/win-x64/native/tensorflow.dll

+ 1
- 6
src/TensorFlowNET.Core/TensorFlowNET.Core.csproj View File

@@ -53,15 +53,10 @@ Docs: https://tensorflownet.readthedocs.io</Description>

<ItemGroup>
<PackageReference Include="Google.Protobuf" Version="3.8.0" />
<PackageReference Include="Microsoft.ML.TensorFlow.Redist" Version="0.13.0" />
<PackageReference Include="NumSharp" Version="0.10.3" />
</ItemGroup>

<ItemGroup>
<Content CopyToOutputDirectory="PreserveNewest" Include="../../tensorflowlib/runtimes/win-x64/native/tensorflow.dll" Link="tensorflow.dll" Pack="true" PackagePath="../../tensorflowlib/runtimes/win-x64/native/tensorflow.dll" />
<Content CopyToOutputDirectory="PreserveNewest" Include="../../tensorflowlib/runtimes/linux-x64/native/libtensorflow.so" Link="libtensorflow.so" Pack="true" PackagePath="../../tensorflowlib/runtimes/linux-x64/native/libtensorflow.so" />
<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" />
</ItemGroup>

<ItemGroup>
<Folder Include="Distribute\" />
<Folder Include="Keras\Initializers\" />


+ 7
- 1
tensorflowlib/README.md View File

@@ -1,4 +1,10 @@
TensorFlow.NET pack all required libraries in architecture-specific assemblies folders per NuGet standard.
TensorFlow.NET pack all required libraries in architecture-specific assemblies folders per NuGet standard [Deprecated] .

We changed to use `Microsoft.ML.TensorFlow.Redist` to maintain the TensorFlow library.



### Download manually

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



BIN
tensorflowlib/runtimes/win-x64/native/tensorflow.dll View File


Loading…
Cancel
Save