Script.maximum¶
- Script.maximum(lhs, rhs, out=None)¶
Element-wise maximum with broadcasting.
- Parameters:
lhs (RegisterTensor) – Left operand.
rhs (RegisterTensor) – Right operand.
out (RegisterTensor, optional) – Output tensor. If not provided, a new tensor is allocated.
- Returns:
ret –
max(lhs, rhs)element-wise, broadcast to a common shape.- Return type:
Notes
Thread group: Can be executed by any sized thread group.