pub fn index_offset_with_layout<N: CubePrimitive, L: CubePrimitive>(
tensor: &Tensor<Line<N>>,
layout: &Tensor<Line<L>>,
offset_layout: usize,
dim_start: usize,
dim_end: usize,
unroll: bool,
) -> usizeExpand description
Returns the offset of the tensor corresponding to the layout tensor.