From cc5790c3725614b4e829fe0df53fc91f872e9d79 Mon Sep 17 00:00:00 2001 From: mapingshuo Date: Sun, 27 Sep 2020 12:02:50 +0800 Subject: [PATCH] fix reshape doc, test=develop --- python/paddle/tensor/manipulation.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/python/paddle/tensor/manipulation.py b/python/paddle/tensor/manipulation.py index dc6a04a4723..d94ea714e90 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) -- GitLab