You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 885 B

6 years ago
6 years ago
1234567891011121314151617181920
  1. ### Download compiler from https://github.com/protocolbuffers/protobuf/releases
  2. ```shell
  3. set SRC_DIR=D:\Projects\tensorflow\tensorflow\core\framework
  4. set DST_DIR=D:\Projects\TensorFlow.NET\src\TensorFlowNET.Core\Protobuf
  5. protoc -I=%SRC_DIR% --csharp_out=%DST_DIR% resource_handle.proto
  6. protoc -I=%SRC_DIR% --csharp_out=%DST_DIR% tensor_shape.proto
  7. protoc -I=%SRC_DIR% --csharp_out=%DST_DIR% types.proto
  8. protoc -I=%SRC_DIR% --csharp_out=%DST_DIR% tensor.proto
  9. protoc -I=%SRC_DIR% --csharp_out=%DST_DIR% attr_value.proto
  10. protoc -I=%SRC_DIR% --csharp_out=%DST_DIR% node_def.proto
  11. protoc -I=%SRC_DIR% --csharp_out=%DST_DIR% versions.proto
  12. protoc -I=%SRC_DIR% --csharp_out=%DST_DIR% function.proto
  13. protoc -I=%SRC_DIR% --csharp_out=%DST_DIR% graph.proto
  14. ```
  15. ```shell
  16. set SRC_DIR=D:\Projects\tensorflow\tensorflow\core\protobuf
  17. protoc -I=%SRC_DIR% --csharp_out=%DST_DIR% saver.proto
  18. ```

tensorflow框架的.NET版本,提供了丰富的特性和API,可以借此很方便地在.NET平台下搭建深度学习训练与推理流程。