Browse Source

Merge branch 'master' of https://github.com/SciSharp/TensorFlow.NET

tags/v0.8.0
haiping008 6 years ago
parent
commit
97049a3cb5
1 changed files with 7 additions and 2 deletions
  1. +7
    -2
      src/TensorFlowNET.Core/Protobuf/README.md

+ 7
- 2
src/TensorFlowNET.Core/Protobuf/README.md View File

@@ -1,6 +1,6 @@
### Download compiler from https://github.com/protocolbuffers/protobuf/releases
```shell
set SRC_DIR=D:\Projects\tensorflow-1.12.0\tensorflow\core\framework
set SRC_DIR=D:\Projects\tensorflow\tensorflow\core\framework
set DST_DIR=D:\Projects\TensorFlow.NET\src\TensorFlowNET.Core\Protobuf

protoc -I=%SRC_DIR% --csharp_out=%DST_DIR% resource_handle.proto
@@ -12,4 +12,9 @@ protoc -I=%SRC_DIR% --csharp_out=%DST_DIR% node_def.proto
protoc -I=%SRC_DIR% --csharp_out=%DST_DIR% versions.proto
protoc -I=%SRC_DIR% --csharp_out=%DST_DIR% function.proto
protoc -I=%SRC_DIR% --csharp_out=%DST_DIR% graph.proto
```
```

```shell
set SRC_DIR=D:\Projects\tensorflow\tensorflow\core\protobuf
protoc -I=%SRC_DIR% --csharp_out=%DST_DIR% saver.proto
```

Loading…
Cancel
Save