提交 cc5790c3 编写于 作者: M mapingshuo

fix reshape doc, test=develop

无相关合并请求
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
反馈
建议
客服 返回
顶部