Function index_offset_contiguous_fastdivmod

Source
pub fn index_offset_contiguous_fastdivmod<N: CubePrimitive>(
    tensor: &Tensor<Line<N>>,
    offset_layout: u32,
    shape: &Sequence<FastDivmod>,
    stride: &Sequence<u32>,
) -> u32
Expand description

Returns the offset of the tensor corresponding to a contiguous layout.