tvm_tirx.ir.DictAttrs#
- class tvm_tirx.ir.DictAttrs(dict)#
Bases:
AttrsA string-keyed attribute map for functions, modules, and calls.
Construct with
DictAttrs(dict={"key": value})ormake_node("ir.DictAttrs", key=value). Entries are available through indexing,get(), and attribute access;dictholds the underlying map.- keys()#
Get list of names in the attribute.
- Returns:
keys (list of str) – List of keys
- get(key, default=None)#
Get an element with a default value.
- items()#
Get items from the map.
- property dict#