diff --git a/python/paddle/fluid/layers/nn.py b/python/paddle/fluid/layers/nn.py index 22e2821973dc4298de395a2f080667ff6360fbf3..5c9cf703bbfb2e63b0a714f2ca41d0167e3933c6 100755 --- a/python/paddle/fluid/layers/nn.py +++ b/python/paddle/fluid/layers/nn.py @@ -6103,7 +6103,7 @@ def reshape(x, shape, actual_shape=None, act=None, inplace=False, name=None): .. code-block:: python import paddle.fluid as fluid - + paddle.enable_static() # example 1: # attr shape is a list which doesn't contain Tensors. data_1 = fluid.data(