Tensor size is the total number of scalar elements contained in a tensor. It is determined by multiplying the lengths of all dimensions in the tensor’s shape.
The total number of scalars a Tensor contains. For example, a Tensor has a size of 50.