Skip to main content

ClikaRT::ops::gt

function

gt()​

Tensor gt(Tensor input, ScalarOrTensor other)

Elementwise a > other; output as eq.

Returns: the broadcast-shaped Bool mask.

Throws

  • ClikaRT::Error: (INVALID_ARGUMENT) when the operand shapes are not broadcast-compatible.

Declared in ClikaRT/compute/ops.h, line 1683