MCPcopy Create free account
hub / github.com/apache/tvm / _get_registry_entry

Function _get_registry_entry

python/tvm/script/parser/core/doc.py:126–132  ·  view source on GitHub ↗
(cls_name, attr)

Source from the content-addressed store, hash-verified

124
125
126def _get_registry_entry(cls_name, attr):
127 cls_name = cls_name.split(".")[-1]
128 reg = Registry._inst # pylint: disable=protected-access
129 if cls_name in reg.table:
130 entry = reg.table[cls_name]
131 return getattr(entry, attr, None)
132 return None
133
134
135def from_doc(node):

Callers 2

from_docFunction · 0.85
to_docFunction · 0.85

Calls 1

splitMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…