net_proto.proto 356 字节
Newer Older
D
dongzhihong 已提交
1 2 3
syntax="proto2";
package paddle.framework;

4
import "op_proto.proto";
D
dongzhihong 已提交
5 6 7 8 9 10 11

message NetDesc {
  // network identification
  optional string name = 1;
  // operator contains in network
  repeated OpProto operators = 2;
  // network type to run with. e.g "plainNet", "DAG"
D
dongzhihong 已提交
12
  optional string net_type = 3;
D
dongzhihong 已提交
13 14 15
  // num worker always
  optional int32 num_workers = 4;
}