//clika-runtime/io.clika.runtime/Ops/roll
roll
[common]
fun roll(input: Tensor, shifts: LongArray, dims: LongArray = longArrayOf()): Tensor
roll(input: Tensor, shifts: LongArray, dims: LongArray = longArrayOf()): the roll operator. Circularly shift elements: shifts[i] positions along dims[i]; elements that fall off one end re-enter at the other. With dims empty (the default) the tensor is treated as flattened row-major and shifted by shifts[0]. Copies.