pub fn expand(
scope: &Scope,
offset: <usize as CubeType>::ExpandType,
shape: &<Sequence<FastDivmod<usize>> as CubeType>::ExpandType,
stride: &<Sequence<usize> as CubeType>::ExpandType,
vector_size: VectorSize,
) -> <usize as CubeType>::ExpandTypeExpand description
Returns the offset of the tensor corresponding to a contiguous layout.