tvm_tirx.ir.DictAttrs#

class tvm_tirx.ir.DictAttrs(dict)#

Bases: Attrs

A string-keyed attribute map for functions, modules, and calls.

Construct with DictAttrs(dict={"key": value}) or make_node("ir.DictAttrs", key=value). Entries are available through indexing, get(), and attribute access; dict holds 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#