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

Move Pod Types from DataType enum to Type enum

上级 cbc72a70
...@@ -91,27 +91,27 @@ message OpProto { ...@@ -91,27 +91,27 @@ message OpProto {
required string comment = 5; required string comment = 5;
} }
enum DataType {
BOOL = 0;
INT16 = 1;
INT32 = 2;
INT64 = 3;
FP16 = 4;
FP32 = 5;
FP64 = 6;
}
message VarType { message VarType {
enum Type { enum Type {
LOD_TENSOR = 1; // Pod Types
SELECTED_ROWS = 2; BOOL = 0;
FEED_MINIBATCH = 3; INT16 = 1;
FETCH_LIST = 4; INT32 = 2;
STEP_SCOPES = 5; INT64 = 3;
LOD_RANK_TABLE = 6; FP16 = 4;
LOD_TENSOR_ARRAY = 7; FP32 = 5;
PLACE_LIST = 8; FP64 = 6;
READER = 9;
// Other types that may need additional descriptions
LOD_TENSOR = 7;
SELECTED_ROWS = 8;
FEED_MINIBATCH = 9;
FETCH_LIST = 10;
STEP_SCOPES = 11;
LOD_RANK_TABLE = 12;
LOD_TENSOR_ARRAY = 13;
PLACE_LIST = 14;
READER = 15;
} }
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.
先完成此消息的编辑!
想要评论请 注册