diff --git a/paddle/framework/framework.proto b/paddle/framework/framework.proto index f7052df4e9f849f3e451c48d30812d4cc3180f52..4b6dfec5cbc35c8cfc20c525f965cbec292dc124 100644 --- a/paddle/framework/framework.proto +++ b/paddle/framework/framework.proto @@ -40,8 +40,8 @@ message OpDesc { }; message Var { - string name; // e.g. "X" - int dup = 2 [ default = 0 ]; // e.g., "1" + required string name; // e.g. "X" + optional int dup = 2 [ default = 0 ]; // e.g., "1" }; required string type = 3;