pub fn into_dim<S, D, D2>(tensor: TensorBase<S, D>) -> TensorBase<S, D2>where D: DimAPI + DimIntoAPI<D2>, D2: DimAPI,
Convert layout to the other dimension.
Refer to into_dim for more detailed documentation.
into_dim