Skip to main content

//clika-runtime/io.clika.runtime/Ops/flip

flip

[common]
fun flip(input: Tensor, dims: LongArray): Tensor

flip(input: Tensor, dims: LongArray): the flip operator. Reverse the element order along each dim in dims. Always copies; a reversed layout is not expressible as a view in this runtime, so this op never returns one.