Skip to main content

ClikaRT::ops::logical_or

function

logical_or()

Tensor logical_or(Tensor a, Tensor b)

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 1730