“When a tensor represents a vector (with precisely one axis), we can also access its length via the
.shape attribute. The shape is a tuple that lists the length (dimensionality) along each axis of the
tensor. For tensors with just one axis, the shape has just one element.
When it is written “with precisely one axis”, did you mean we can access its length via the .size attribute ?