Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
|
|
6 years ago | |
|---|---|---|
| .. | ||
| runtimes | 6 years ago | |
| README.md | 6 years ago | |
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.
Here are some pre-built TensorFlow binaries you can use for each platform:
Install-Package TensorFlow.NET
Download Linux pre-built library and unzip libtensorflow.so and libtensorflow_framework.so into current running directory.
Before running verify you installed CUDA and cuDNN
https://www.tensorflow.org/install/source_windows
pacman -S git patch unzip
bazel build --config=opt //tensorflow:libtensorflow.so
bazel build --config=opt //tensorflow/tools/pip_package:build_pip_package
bazel-bin\tensorflow\tools\pip_package\build_pip_package C:/tmp/tensorflow_pkg
pip install C:/tmp/tensorflow_pkg/tensorflow-1.14.0-cp36-cp36m-win_amd64.whl
Add more api to c_api.h
TF_CAPI_EXPORT extern void AddControlInput(TF_Graph* graph, TF_Operation* op, TF_Operation* input);
TF_CAPI_EXPORT extern void UpdateEdge(TF_Graph* graph, TF_Output new_src, TF_Input dst, TF_Status* status);
TF_CAPI_EXPORT extern void RemoveAllControlInputs(TF_Graph* graph, TF_Operation* op);
tensorflow框架的.NET版本,提供了丰富的特性和API,可以借此很方便地在.NET平台下搭建深度学习训练与推理流程。
C# Unity3D Asset PureBasic Python