to_dim_f

Function to_dim_f 

Source
pub fn to_dim_f<R, T, B, D, D2>(
    tensor: &TensorBase<Storage<R, T, B>, D>,
) -> Result<TensorBase<Storage<DataRef<'_, <B as DeviceRawAPI<T>>::Raw>, T, B>, D2>, Error>
where D: DimAPI + DimIntoAPI<D2>, D2: DimAPI, R: DataAPI<Data = <B as DeviceRawAPI<T>>::Raw>, B: DeviceAPI<T>,
Expand description

Convert layout to the other dimension.

ยงSee also

Refer to into_dim for more detailed documentation.