Trait candle_core::shape::Dim
source · pub trait Dim {
// Required methods
fn to_index(&self, shape: &Shape, op: &'static str) -> Result<usize>;
fn to_index_plus_one(
&self,
shape: &Shape,
op: &'static str
) -> Result<usize>;
}