[][src]Trait tract_core::dim::DimLike

pub trait DimLike: Copy + Clone + Default + PartialEq + From<usize> + One + Zero + Debug + Display + Add<Self, Output = Self> + Add<usize, Output = Self> + Sub<Self, Output = Self> + Sub<usize, Output = Self> + Mul<usize, Output = Self> + Mul<Self, Output = Self> + Div<usize, Output = Self> + Rem<usize, Output = Self> + Send + Sync + 'static + Product + Sum {
    fn to_integer(&self) -> TractResult<i32>;

    fn div_ceil(&self, other: usize) -> Self { ... }
}

Required methods

fn to_integer(&self) -> TractResult<i32>

Loading content...

Provided methods

fn div_ceil(&self, other: usize) -> Self

Loading content...

Implementations on Foreign Types

impl DimLike for usize[src]

fn div_ceil(&self, other: usize) -> Self[src]

Loading content...

Implementors

impl DimLike for TDim[src]

fn div_ceil(&self, other: usize) -> Self[src]

Loading content...