diff --git a/python/paddle/tensor/manipulation.py b/python/paddle/tensor/manipulation.py index dc6a04a4723bd92dbe1c76fce5b3e52981136211..d94ea714e90b10b2d81cf4014522c3004b7c0a9d 100644 --- a/python/paddle/tensor/manipulation.py +++ b/python/paddle/tensor/manipulation.py @@ -1258,9 +1258,6 @@ broadcast_to = expand def reshape(x, shape, name=None): """ - :alias_main: paddle.reshape - :alias: paddle.reshape,paddle.tensor.reshape,paddle.tensor.manipulation.reshape - This operator changes the shape of ``x`` without changing its data. Some tricks exist when specifying the target shape. @@ -1309,8 +1306,6 @@ def reshape(x, shape, name=None): import numpy as np import paddle - paddle.disable_static() - data = np.random.random([2, 4, 6]).astype("float32") x = paddle.to_tensor(data)