dimensions

Returns the dimensions of the tensor, or an empty list if not available.