@@ -328,15 +328,8 @@ ASALocalRun/ | |||||
# MFractors (Xamarin productivity tool) working folder | # MFractors (Xamarin productivity tool) working folder | ||||
.mfractor/ | .mfractor/ | ||||
/tensorflowlib/win7-x64/native/libtensorflow.dll | |||||
/tensorflowlib/osx/native/libtensorflow_framework.dylib | |||||
/tensorflowlib/osx/native/libtensorflow.dylib | |||||
/tensorflowlib/linux/native/libtensorflow_framework.so | |||||
/tensorflowlib/linux/native/libtensorflow.so | |||||
/src/TensorFlowNET.Core/tensorflow.dll | |||||
/docs/build | /docs/build | ||||
src/TensorFlowNET.Native/libtensorflow.dll | |||||
src/TensorFlowNET.Native/bazel-* | src/TensorFlowNET.Native/bazel-* | ||||
/src/TensorFlowNET.Native/libtensorflow.lib | |||||
src/TensorFlowNET.Native/c_api.h | src/TensorFlowNET.Native/c_api.h | ||||
/.vscode | /.vscode | ||||
test/TensorFlowNET.Examples/mnist |
@@ -7,7 +7,7 @@ | |||||
<Version>0.5.1</Version> | <Version>0.5.1</Version> | ||||
<Authors>Haiping Chen</Authors> | <Authors>Haiping Chen</Authors> | ||||
<Company>SciSharp STACK</Company> | <Company>SciSharp STACK</Company> | ||||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild> | |||||
<GeneratePackageOnBuild>false</GeneratePackageOnBuild> | |||||
<Copyright>Apache 2.0</Copyright> | <Copyright>Apache 2.0</Copyright> | ||||
<RepositoryUrl>https://github.com/SciSharp/TensorFlow.NET</RepositoryUrl> | <RepositoryUrl>https://github.com/SciSharp/TensorFlow.NET</RepositoryUrl> | ||||
<RepositoryType>git</RepositoryType> | <RepositoryType>git</RepositoryType> | ||||
@@ -50,7 +50,9 @@ Bug fix.</PackageReleaseNotes> | |||||
</ItemGroup> | </ItemGroup> | ||||
<ItemGroup> | <ItemGroup> | ||||
<Content CopyToOutputDirectory="PreserveNewest" Include="./runtimes/win-x64/native/tensorflow.dll" Link="tensorflow.dll" Pack="true" PackagePath="runtimes/win-x64/native/tensorflow.dll" /> | |||||
<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> | ||||
<ItemGroup> | <ItemGroup> | ||||
@@ -1,3 +1,5 @@ | |||||
TensorFlow.NET pack all required libraries in architecture-specific assemblies folders per NuGet standard. | |||||
Here are some pre-built TensorFlow binaries you can use for each platform: | Here are some pre-built TensorFlow binaries you can use for each platform: | ||||
- Linux | - Linux | ||||
@@ -6,7 +8,18 @@ Here are some pre-built TensorFlow binaries you can use for each platform: | |||||
- Mac: https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-darwin-x86_64-1.13.1.tar.gz | - Mac: https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-darwin-x86_64-1.13.1.tar.gz | ||||
- Windows: https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-windows-x86_64-1.13.1.zip | - Windows: https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-windows-x86_64-1.13.1.zip | ||||
### Run in Linux | |||||
`Install-Package TensorFlow.NET` | |||||
Download Linux pre-built library and unzip `libtensorflow.so` and `libtensorflow_framework.so` into current running directory. | |||||
### Run in Mac OS | |||||
### Build from source for Windows | |||||
https://www.tensorflow.org/install/source_windows | https://www.tensorflow.org/install/source_windows | ||||
pacman -S git patch unzip | pacman -S git patch unzip | ||||
1. Build static library | 1. Build static library | ||||