tvm_tirx.ir.Expr

Contents

tvm_tirx.ir.Expr#

class tvm_tirx.ir.Expr(loc=<MISSING>, ty=<MISSING>)#

Bases: Node

Base class of typed IR expressions.

ty holds the expression’s type, which may be MissingType during construction. loc records its source location. Concrete subclasses define operands and may expose operations through their type.

Parameters:
property loc#
property ty#