tvm_tirx.tirx.script.logical_or

Contents

tvm_tirx.tirx.script.logical_or#

tvm_tirx.tirx.script.logical_or(*values)#

Construct scalar or vector disjunction from eager operands.

Parameters:

values (Expr or Python value) – One or more operands. Values implementing __tvm_ffi_object__ are normalized first. Host pairs follow Python logical operations; IR pairs use scalar logical or vector bitwise operations according to their types.

Returns:

result (Expr or Python value) – The disjunction reduced from left to right.

Notes

All arguments are evaluated before this call; it does not provide Python short-circuit evaluation of the argument expressions.