to_contig

Function to_contig 

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