mindspore.Tensor.ndimension

Tensor.ndimension()[source]

Alias for mindspore.Tensor.ndim().