提交 73c9ba03 编写于 作者: Z zhiqiu

fix sample code

上级 16240f85
...@@ -6103,7 +6103,7 @@ def reshape(x, shape, actual_shape=None, act=None, inplace=False, name=None): ...@@ -6103,7 +6103,7 @@ def reshape(x, shape, actual_shape=None, act=None, inplace=False, name=None):
.. code-block:: python .. code-block:: python
import paddle.fluid as fluid import paddle.fluid as fluid
paddle.enable_static()
# example 1: # example 1:
# attr shape is a list which doesn't contain Tensors. # attr shape is a list which doesn't contain Tensors.
data_1 = fluid.data( data_1 = fluid.data(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册