(beta)torch_npu.npu_reshape
须知:[object Object] 该接口计划废弃,可以使用torch.reshape接口进行替换。
函数原型
[object Object]
功能说明
reshape张量。仅更改张量shape,其数据不变。
参数说明
- self (Tensor) - 输入张量。
- shape (ListInt) - 定义输出张量的shape。
- can_refresh (Bool,默认值为False) - 是否就地刷新reshape。
约束说明
该运算符不能被aclopExecute API直接调用。
支持的型号
- [object Object]Atlas 训练系列产品[object Object]
- [object Object]Atlas A2 训练系列产品[object Object]
- [object Object]Atlas A3 训练系列产品[object Object]
- [object Object]Atlas 推理系列产品[object Object]
调用示例
[object Object]