net_proto.proto 352 字节
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 12 13 14 15

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"
  optional string type = 3;
  // num worker always
  optional int32 num_workers = 4;
}