to_prefer_f

Function to_prefer_f 

Source
pub fn to_prefer_f<R, T, B, D>(
    tensor: &TensorBase<Storage<R, T, B>, D>,
    order: FlagOrder,
) -> Result<TensorBase<Storage<DataCow<'_, <B as DeviceRawAPI<T>>::Raw>, T, B>, D>, Error>
where R: DataAPI<Data = <B as DeviceRawAPI<T>>::Raw>, D: DimAPI, B: DeviceAPI<T> + DeviceCreationAnyAPI<T> + OpAssignArbitaryAPI<T, D, D>,