mindspore.Tensor.swapdims

Tensor.swapdims(dim0, dim1)[source]

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