pub trait TensorViewAPI {
type Type;
type Backend: DeviceAPI<Self::Type>;
type Dim: DimAPI;
// Required method
fn view(
&self,
) -> TensorBase<Storage<DataRef<'_, <Self::Backend as DeviceRawAPI<Self::Type>>::Raw>, Self::Type, Self::Backend>, Self::Dim>;
}