mindspore.Tensor.ndim

property Tensor.ndim

Return the number of tensor dimensions.