pub trait AddOffsets<I: Int, const RANK: usize, T: Tensor<I, RANK>> {
type Output;
// Required method
fn add_offsets(self, offsets: T) -> Self::Output;
}Expand description
Adding a tensor of integer offsets to Self (e.g. a pointer).
Required Associated Types§
Required Methods§
Sourcefn add_offsets(self, offsets: T) -> Self::Output
fn add_offsets(self, offsets: T) -> Self::Output
Adds offsets to self.