Dimensions vs shape

You can use both but dims already informs the shape of the variable