File tree Expand file tree Collapse file tree
test/TensorFlowNET.UnitTest Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22TensorFlow.NET provides .NET Standard binding for [ TensorFlow] ( https://www.tensorflow.org/ ) .
33
44[ ![ Join the chat at https://gitter.im/publiclab/publiclab ] ( https://badges.gitter.im/Join%20Chat.svg )] ( https://gitter.im/sci-sharp/community )
5- ![ Tensorflow.NET] ( https://ci.appveyor.com/api/projects/status/tensorflow-net-p7kmsjyo10ey?svg=true )
5+ [ ![ Tensorflow.NET] ( https://ci.appveyor.com/api/projects/status/tensorflow-net-p7kmsjyo10ey?svg=true )] ( https://ci.appveyor.com/project/Haiping-Chen/tensorflow-net )
6+ [ ![ codecov] ( https://codecov.io/gh/SciSharp/NumSharp/branch/master/graph/badge.svg )] ( https://codecov.io/gh/SciSharp/NumSharp )
7+ [ ![ NuGet] ( https://img.shields.io/nuget/dt/TensorFlow.NET.svg )] ( https://www.nuget.org/packages/TensorFlow.NET )
68
79TensorFlow.NET is a member project of [ SciSharp] ( https://github.com/SciSharp ) stack.
810
911![ tensors_flowing] ( docs/assets/tensors_flowing.gif )
1012
1113### How to use
12- Download the pre-compiled dll [ here] ( tensorflowlib ) and place it in the bin folder.
14+ Download the pre-compiled dll [ here] ( tensorflow.so ) and place it in the working folder.
15+ This is only need for Linux and Mac OS, and already packed for Windows.
16+
17+ Install TensorFlow.NET through NuGet.
18+ ``` sh
19+ PM> Install-Package TensorFlow.NET
20+ ```
1321
1422Import tensorflow.net.
1523``` cs
Original file line number Diff line number Diff line change 1- <Project Sdk =" Microsoft.NET.Sdk" >
1+ <Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
44 <TargetFramework >netstandard2.0</TargetFramework >
3737 </ItemGroup >
3838
3939 <ItemGroup >
40- <None Update =" tensorflow.dll" >
41- <CopyToOutputDirectory >PreserveNewest</CopyToOutputDirectory >
42- </None >
4340 <None Update =" Operations\op_list_proto_array.bin" >
4441 <CopyToOutputDirectory >PreserveNewest</CopyToOutputDirectory >
4542 </None >
4643 <None Update =" Operations\op_list_proto_math.bin" >
4744 <CopyToOutputDirectory >PreserveNewest</CopyToOutputDirectory >
4845 </None >
46+ <Content CopyToOutputDirectory =" PreserveNewest" Include =" ./runtimes/win-x64/native/tensorflow.dll" Link =" tensorflow.dll" Pack =" true" PackagePath =" runtimes/win-x64/native/tensorflow.dll" />
4947 </ItemGroup >
5048
5149</Project >
Original file line number Diff line number Diff line change @@ -356,5 +356,11 @@ public void c_api_ImportGraphDef()
356356 //graph.Dispose();
357357 s . Dispose ( ) ;
358358 }
359+
360+ [ TestMethod ]
361+ public void c_api_ImportGraphDef_WithReturnOutputs ( )
362+ {
363+
364+ }
359365 }
360366}
You can’t perform that action at this time.
0 commit comments