From 269f79089d2301519ee8a0f8d09882b19234f802 Mon Sep 17 00:00:00 2001 From: Yuan Shuai Date: Wed, 29 Jan 2020 09:34:45 -0600 Subject: [PATCH] fix py2 print style as py3. test=develop, test=document_preview (#1738) --- doc/fluid/api_cn/layers_cn/transpose_cn.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/fluid/api_cn/layers_cn/transpose_cn.rst b/doc/fluid/api_cn/layers_cn/transpose_cn.rst index 33df874e1..f8fba3a0e 100644 --- a/doc/fluid/api_cn/layers_cn/transpose_cn.rst +++ b/doc/fluid/api_cn/layers_cn/transpose_cn.rst @@ -50,7 +50,7 @@ transpose x = fluid.layers.data(name='x', shape=[2, 3, 4], dtype='float32', append_batch_size=False) x_transposed = fluid.layers.transpose(x, perm=[1, 0, 2]) - print x_transposed.shape + print(x_transposed.shape) #(3L, 2L, 4L) -- GitLab