tvm_tirx.tirx.script.logical_not#
- tvm_tirx.tirx.script.logical_not(value)#
Negate a host or IR value.
- Parameters:
value (Expr or Python value) – Operand to negate. Values implementing
__tvm_ffi_object__are normalized first; IR expressions use primitive Not and host values use Python not.- Returns:
result (Expr or bool) – The logical negation without testing an IR expression as a Python bool.