diff --git a/doc/fluid/api_cn/layers_cn/transpose_cn.rst b/doc/fluid/api_cn/layers_cn/transpose_cn.rst index 33df874e197309226a0657823098fed68aa3c3c9..f8fba3a0e57ee9f83847f5a6bdcd3a993ab6984a 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)