| @@ -60,14 +60,15 @@ Read the docs & book [The Definitive Guide to Tensorflow.NET](https://tensorflow | |||||
| More examples: | More examples: | ||||
| * [Hello World](test/TensorFlowNET.Examples/HelloWorld.cs) | * [Hello World](test/TensorFlowNET.Examples/HelloWorld.cs) | ||||
| * [Basic Operations](test/TensorFlowNET.Examples/BasicOperations.cs) | * [Basic Operations](test/TensorFlowNET.Examples/BasicOperations.cs) | ||||
| * [Image Recognition](test/TensorFlowNET.Examples/ImageRecognition.cs) | * [Image Recognition](test/TensorFlowNET.Examples/ImageRecognition.cs) | ||||
| * [Linear Regression](test/TensorFlowNET.Examples/LinearRegression.cs) | * [Linear Regression](test/TensorFlowNET.Examples/LinearRegression.cs) | ||||
| * [Text Classification with Movie Review](test/TensorFlowNET.Examples/TextClassificationWithMovieReviews.cs) | |||||
| * [Text Classification](test/TensorFlowNET.Examples/TextClassificationWithMovieReviews.cs) | |||||
| * [Naive Bayes Classification](test/TensorFlowNET.Examples/NaiveBayesClassifier.cs) | |||||
| * [Named Entity Recognition](test/TensorFlowNET.Examples/NamedEntityRecognition.cs) | |||||
| Star me or raise issue on [Github](https://github.com/SciSharp/TensorFlow.NET) feel free. | Star me or raise issue on [Github](https://github.com/SciSharp/TensorFlow.NET) feel free. | ||||
| Scan QR code to join TIM group: | |||||
| Scan QR code to join Tencent TIM group: | |||||
|  |  | ||||
| @@ -8,4 +8,19 @@ Here are some pre-built TensorFlow binaries you can use for each platform: | |||||
| https://www.tensorflow.org/install/source_windows | https://www.tensorflow.org/install/source_windows | ||||
| pacman -S git patch unzip | pacman -S git patch unzip | ||||
| bazel build --config=opt //tensorflow:libtensorflow.so | |||||
| 1. Build static library | |||||
| `bazel build --config=opt //tensorflow:libtensorflow.so` | |||||
| 2. Build pip package | |||||
| `bazel build --config=opt //tensorflow/tools/pip_package:build_pip_package` | |||||
| 3. Generate pip installation file | |||||
| `bazel-bin\tensorflow\tools\pip_package\build_pip_package C:/tmp/tensorflow_pkg` | |||||
| 4. Install from local wheel file. | |||||
| `pip install C:/tmp/tensorflow_pkg/tensorflow-1.13.0-cp36-cp36m-win_amd64.whl` | |||||
| @@ -0,0 +1,18 @@ | |||||
| using System; | |||||
| using System.Collections.Generic; | |||||
| using System.Text; | |||||
| using Tensorflow; | |||||
| namespace TensorFlowNET.Examples | |||||
| { | |||||
| /// <summary> | |||||
| /// https://github.com/nicolov/naive_bayes_tensorflow | |||||
| /// </summary> | |||||
| public class NaiveBayesClassifier : Python, IExample | |||||
| { | |||||
| public void Run() | |||||
| { | |||||
| throw new NotImplementedException(); | |||||
| } | |||||
| } | |||||
| } | |||||
| @@ -0,0 +1,18 @@ | |||||
| using System; | |||||
| using System.Collections.Generic; | |||||
| using System.Text; | |||||
| using Tensorflow; | |||||
| namespace TensorFlowNET.Examples | |||||
| { | |||||
| /// <summary> | |||||
| /// https://github.com/guillaumegenthial/tf_ner | |||||
| /// </summary> | |||||
| public class NamedEntityRecognition : Python, IExample | |||||
| { | |||||
| public void Run() | |||||
| { | |||||
| throw new NotImplementedException(); | |||||
| } | |||||
| } | |||||
| } | |||||