Skip to main content

ClikaRT::ops::bitwise_or

function

bitwise_or()

Tensor bitwise_or(Tensor a, ScalarOrTensor other)

Elementwise bitwise OR; dtype law as bitwise_and.

Returns: the broadcast-shaped OR at the operands' shared dtype.

Throws

  • ClikaRT::Error: (INVALID_ARGUMENT) when the operand dtypes differ, for a floating-point operand, or broadcast-incompatible shapes.

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