mindspore.Tensor.swapdims

View Source On Gitee
Tensor.swapdims(dim0, dim1)[source]

For details, please refer to mindspore.ops.swapdims().