tvm_tirx.ir.Attrs

Contents

tvm_tirx.ir.Attrs#

class tvm_tirx.ir.Attrs#

Bases: Object

Base class for structured operator and function attributes.

Concrete subclasses declare named fields exposed through attribute access or attrs["field"]. Use make_node() to construct a registered attribute type by its type key and fields.