pymoose.logical_and
pymoose.logical_and#
- pymoose.logical_and(lhs, rhs, placement=None)[source]#
Evaluate the boolean AND 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
Placementto pin this operation to.
- Returns
The logical intersection of the two inputs when treated as booleans.