diff --git a/README.md b/README.md index bef21312..f0c3ed6c 100644 --- a/README.md +++ b/README.md @@ -2,14 +2,22 @@ TensorFlow.NET provides .NET Standard binding for [TensorFlow](https://www.tensorflow.org/). [![Join the chat at https://gitter.im/publiclab/publiclab](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/sci-sharp/community) -![Tensorflow.NET](https://ci.appveyor.com/api/projects/status/tensorflow-net-p7kmsjyo10ey?svg=true) +[![Tensorflow.NET](https://ci.appveyor.com/api/projects/status/tensorflow-net-p7kmsjyo10ey?svg=true)](https://ci.appveyor.com/project/Haiping-Chen/tensorflow-net) +[![codecov](https://codecov.io/gh/SciSharp/NumSharp/branch/master/graph/badge.svg)](https://codecov.io/gh/SciSharp/NumSharp) +[![NuGet](https://img.shields.io/nuget/dt/TensorFlow.NET.svg)](https://www.nuget.org/packages/TensorFlow.NET) TensorFlow.NET is a member project of [SciSharp](https://github.com/SciSharp) stack. ![tensors_flowing](docs/assets/tensors_flowing.gif) ### How to use -Download the pre-compiled dll [here](tensorflowlib) and place it in the bin folder. +Download the pre-compiled dll [here](tensorflow.so) and place it in the working folder. +This is only need for Linux and Mac OS, and already packed for Windows. + +Install TensorFlow.NET through NuGet. +```sh +PM> Install-Package TensorFlow.NET +``` Import tensorflow.net. ```cs diff --git a/src/TensorFlowNET.Core/TensorFlowNET.Core.csproj b/src/TensorFlowNET.Core/TensorFlowNET.Core.csproj index 5f35afcb..5d7a067d 100644 --- a/src/TensorFlowNET.Core/TensorFlowNET.Core.csproj +++ b/src/TensorFlowNET.Core/TensorFlowNET.Core.csproj @@ -1,4 +1,4 @@ - + netstandard2.0 @@ -37,15 +37,13 @@ - - PreserveNewest - PreserveNewest PreserveNewest + diff --git a/src/TensorFlowNET.Core/runtimes/win-x64/native/tensorflow.dll b/src/TensorFlowNET.Core/runtimes/win-x64/native/tensorflow.dll new file mode 100644 index 00000000..d667cffa Binary files /dev/null and b/src/TensorFlowNET.Core/runtimes/win-x64/native/tensorflow.dll differ diff --git a/test/TensorFlowNET.UnitTest/GraphTest.cs b/test/TensorFlowNET.UnitTest/GraphTest.cs index 2e813ad8..edc8f5bd 100644 --- a/test/TensorFlowNET.UnitTest/GraphTest.cs +++ b/test/TensorFlowNET.UnitTest/GraphTest.cs @@ -356,5 +356,11 @@ namespace TensorFlowNET.UnitTest //graph.Dispose(); s.Dispose(); } + + [TestMethod] + public void c_api_ImportGraphDef_WithReturnOutputs() + { + + } } }