tvm_tirx.script.printer.doc.OperationKind#

class tvm_tirx.script.printer.doc.OperationKind(*values)#

Bases: IntEnum

This enum represents the kind of operation (operator) in OperationDoc

It’s mirrored from OperationDocObj::Kind at include/tvm/script/printer/doc.h

USub = 1#
Invert = 2#
Not = 3#
Add = 6#
Sub = 7#
Mult = 8#
Div = 9#
FloorDiv = 10#
Mod = 11#
Pow = 12#
LShift = 13#
RShift = 14#
BitAnd = 15#
BitOr = 16#
BitXor = 17#
Lt = 18#
LtE = 19#
Eq = 20#
NotEq = 21#
Gt = 22#
GtE = 23#
And = 24#
Or = 25#
MatMul = 26#
If = 29#