[−][src]Trait tract_data::internal::DimLike
A super-trait for value acting as tensor dimensions in tract.
Implemented by:
usize
for regular dimensionsTDim
supporting regular and streaming dimensions
Required methods
pub fn maybe_div(&self, other: &Self) -> Result<(Self, u64)>
[src]
pub fn maybe_mul(&self, other: &Self) -> Result<Self>
[src]
pub fn to_i64(&self) -> Result<i64>
[src]
Convert to regular integer.
pub fn one() -> Self
[src]
do not use num_traits::Mul as it implies a regular Mul
pub fn eval(&self, values: &SymbolValues) -> Self
[src]
Provided methods
pub fn div_ceil(&self, other: usize) -> Self
[src]
Integer divise, rounding up to next integer.