From 8149ba0ddf21828fca898afce219f369032ce46d Mon Sep 17 00:00:00 2001 From: fengjiayi Date: Fri, 22 Sep 2017 17:56:08 -0700 Subject: [PATCH] Change LoDTensorDesc::dims from int32 to int64 --- paddle/framework/framework.proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/framework/framework.proto b/paddle/framework/framework.proto index cf83d4cec..6fcfe6de2 100644 --- a/paddle/framework/framework.proto +++ b/paddle/framework/framework.proto @@ -106,7 +106,7 @@ enum DataType { message LoDTensorDesc { 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 ]; } -- GitLab