Size
A tensor's shape: a tuple of ints with numel(). Slicing gives a
Size again; every tuple operation works.
Size([2, 3]).numel() 6
numel
numel(self) -> 'int'
numel() -> int
The element count: the product of the dims (1 for a 0-d shape).