IndexerPreserveAPI

Trait IndexerPreserveAPI 

Source
pub trait IndexerPreserveAPI: Sized {
    // Required method
    fn dim_narrow(&self, axis: isize, slice: SliceI) -> Result<Self>;
}

Required Methods§

Source

fn dim_narrow(&self, axis: isize, slice: SliceI) -> Result<Self>

Narrowing tensor by slicing at a specific axis.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§