mindspore.Tensor.size

property Tensor.size

Returns the total number of elements in tensor.