mindspore.Tensor.shape

property Tensor.shape

Returns the shape of the tensor as a tuple.