TensorSlice

Trait TensorSlice 

Source
pub trait TensorSlice {
    // Required methods
    fn shaped_bounds(
        &self,
        shape: Shape,
    ) -> Result<(ShapedIndex, ShapedIndex), TensorError>;
    fn linear_bounds(&self, shape: Shape) -> Result<(usize, usize), TensorError>;
}

Required Methods§

Implementations on Foreign Types§

Source§

impl<X, Y, Z, W> TensorSlice for (X, Y, Z, W)

Implementors§