提交 a2393fc1 编写于 作者: F fengjiayi 提交者: GitHub

Merge pull request #4348 from Canpio/fix_lod_tensor_dim_64

Change LoDTensorDesc::dims from int32 to int64
...@@ -106,7 +106,7 @@ enum DataType { ...@@ -106,7 +106,7 @@ enum DataType {
message LoDTensorDesc { message LoDTensorDesc {
required DataType data_type = 1; required DataType data_type = 1;
repeated int32 dims = 2; // [UNK, 640, 480] is saved as [-1, 640, 480] repeated int64 dims = 2; // [UNK, 640, 480] is saved as [-1, 640, 480]
optional int32 lod_level = 3 [ default = 0 ]; optional int32 lod_level = 3 [ default = 0 ];
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册