Trait custos_math::custos::ToDim

source ·
pub trait ToDim<T, I, O>: Devicewhere
    I: Shape,
    O: Shape,{
    // Required method
    fn to_dim(&self, ptr: Self::Ptr<T, I>) -> Self::Ptr<T, O>;
}

Required Methods§

source

fn to_dim(&self, ptr: Self::Ptr<T, I>) -> Self::Ptr<T, O>

Implementors§

source§

impl<T, D, I, O> ToDim<T, I, O> for Dwhere D: RawConv, I: Shape, O: Shape, <D as Device>::Ptr<T, ()>: PtrType,