tvm_tirx.tirx.script.logical_and

Contents

tvm_tirx.tirx.script.logical_and#

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

Construct scalar or vector conjunction 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 conjunction 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.