the Dim trait is used to define a type that can be used as a raw dimension.
This trait is primarily used to provide abstracted, generic interpretations of the
dimensions of the ndarray crate to ensure long-term compatibility.
A marker trait used to denote tensors that represent scalar values; more specifically, we
consider any type implementing the RawTensorData type where the Elem associated
type is the implementor itself a scalar value.