对tensor进行Reshape操作,不改变tensor的内容。
1
def reshape(self, shape: Union[List[int], Tuple[int]])
参数名
输入/输出
描述
shape
输入
要改变的目标shape。
要求shape元素个数必须和原来shape的个数一致。
无
如果对输入进行reshape动作,可能会影响其他使用本输入的节点正常执行。