Skip to main content

//clika-runtime/io.clika.runtime/Ops/maximum

maximum

[common]
fun maximum(input: Tensor, other: Tensor): Tensor

maximum(input: Tensor, other: Tensor): the maximum operator. Elementwise maximum, NaN-PROPAGATING: a NaN in either operand yields NaN (use ops::fmax for the NaN-ignoring IEEE law). Broadcasts and promotes as add.