pymoose.logical_or#

pymoose.logical_or(lhs, rhs, placement=None)[source]#

Evaluate the boolean OR operation, i.e. lhs | rhs.

If tensors, the operation is performed elementwise.

Parameters
  • lhs – Left-hand side of operation.

  • rhs – Right-hand side of operation.

  • placement – An optional Placement to pin this operation to.

Returns

The logical union of the two inputs when treated as booleans.