Skip to main content

//clika-runtime/io.clika.runtime/Ops/cross

cross

[common]
fun cross(input: Tensor, other: Tensor, dim: Long? = null): Tensor

cross(input: Tensor, other: Tensor, dim: Long? = null): the cross operator. 3-vector cross product along dim. Both operands share one shape; the dim axis (default: the LAST axis) must have size 3. The output mirrors the input shape.