Browse Source

Update README.md

tags/v0.8.0
Haiping GitHub 6 years ago
parent
commit
4fc98e0a7a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
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