fluid.layers.data里面指定的shape与实际输出不符合预期
Created by: hutuxian
举例来说,输入层指定的shape是[5,1]:
fluid.layers.data(name="", shape=[5, 1], dtype="int64")
实际运行时Print出来变成了[1,5](batch_size为2)。输出如下:
shape: [2,1,5,]
dtype: l
data: 3737,19450,100000,100000,100000,6855,3805,100000,100000,100000,
请问该怎么理解layers.data里面的shape?