未验证 提交 269f7908 编写于 作者: Y Yuan Shuai 提交者: GitHub

fix py2 print style as py3. test=develop, test=document_preview (#1738)

上级 b4194f29
...@@ -50,7 +50,7 @@ transpose ...@@ -50,7 +50,7 @@ transpose
x = fluid.layers.data(name='x', shape=[2, 3, 4], x = fluid.layers.data(name='x', shape=[2, 3, 4],
dtype='float32', append_batch_size=False) dtype='float32', append_batch_size=False)
x_transposed = fluid.layers.transpose(x, perm=[1, 0, 2]) x_transposed = fluid.layers.transpose(x, perm=[1, 0, 2])
print x_transposed.shape print(x_transposed.shape)
#(3L, 2L, 4L) #(3L, 2L, 4L)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册