Skip to main content

ClikaRT::ops::logical_or

function

logical_or()​

Tensor logical_or(Tensor input, Tensor other)

Elementwise logical OR (non-Bool inputs read as != 0); 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 1742