pub trait IndexOp<T> {
// Required method
fn i(&self, index: T) -> Result<Tensor, Error>;
}
Expand description
Trait used to implement multiple signatures for ease of use of the slicing of a tensor
pub trait IndexOp<T> {
// Required method
fn i(&self, index: T) -> Result<Tensor, Error>;
}
Trait used to implement multiple signatures for ease of use of the slicing of a tensor