Size refers to the number of elements along a named dimension given by
the operation axisargument - eg a rank 2 tensor with named
axes “0” and “1”, size(“1”)==2.
If the axis argument is left blank, the size returns the total number of elements present in the tensor. This may be less than the product of axis sizes if the data is sparse.