提交 b487435f 编写于 作者: Z zhiqiu

fix sample code

上级 73c9ba03
...@@ -6102,8 +6102,10 @@ def reshape(x, shape, actual_shape=None, act=None, inplace=False, name=None): ...@@ -6102,8 +6102,10 @@ def reshape(x, shape, actual_shape=None, act=None, inplace=False, name=None):
Examples: Examples:
.. code-block:: python .. code-block:: python
import paddle
import paddle.fluid as fluid import paddle.fluid as fluid
paddle.enable_static() 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.
先完成此消息的编辑!
想要评论请 注册