提交 e18bc024 编写于 作者: A Abhinav Arora

Move Pod Types from DataType enum to Type enum

上级 cbc72a70
...@@ -91,7 +91,9 @@ message OpProto { ...@@ -91,7 +91,9 @@ message OpProto {
required string comment = 5; required string comment = 5;
} }
enum DataType { message VarType {
enum Type {
// Pod Types
BOOL = 0; BOOL = 0;
INT16 = 1; INT16 = 1;
INT32 = 2; INT32 = 2;
...@@ -99,19 +101,17 @@ enum DataType { ...@@ -99,19 +101,17 @@ enum DataType {
FP16 = 4; FP16 = 4;
FP32 = 5; FP32 = 5;
FP64 = 6; FP64 = 6;
}
message VarType { // Other types that may need additional descriptions
enum Type { LOD_TENSOR = 7;
LOD_TENSOR = 1; SELECTED_ROWS = 8;
SELECTED_ROWS = 2; FEED_MINIBATCH = 9;
FEED_MINIBATCH = 3; FETCH_LIST = 10;
FETCH_LIST = 4; STEP_SCOPES = 11;
STEP_SCOPES = 5; LOD_RANK_TABLE = 12;
LOD_RANK_TABLE = 6; LOD_TENSOR_ARRAY = 13;
LOD_TENSOR_ARRAY = 7; PLACE_LIST = 14;
PLACE_LIST = 8; READER = 15;
READER = 9;
} }
required Type type = 1; required Type type = 1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册