pub trait IndexerPreserveAPI: Sized {
// Required method
fn dim_narrow(&self, axis: isize, slice: SliceI) -> Result<Self>;
}Required Methods§
Sourcefn dim_narrow(&self, axis: isize, slice: SliceI) -> Result<Self>
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.