Skip to main content

AddOffsets

Trait AddOffsets 

pub trait AddOffsets<I, const RANK: usize, T>
where I: Int, 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§

type Output

The result of adding offsets.

Required Methods§

fn add_offsets(self, offsets: T) -> Self::Output

Adds offsets to self.

Implementors§