|
|
@@ -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 |
|
|
|
``` |