MCPcopy Index your code
hub / github.com/apache/tvm / eval_struct_info_proxy

Function eval_struct_info_proxy

python/tvm/relax/script/parser/parser.py:105–111  ·  view source on GitHub ↗
(self: Parser, node: doc.expr)

Source from the content-addressed store, hash-verified

103
104
105def eval_struct_info_proxy(self: Parser, node: doc.expr) -> StructInfoProxy:
106 try:
107 annotation = self.eval_expr(node)
108 return _normalize_struct_info_proxy(annotation)
109 except Exception as err: # pylint: disable=broad-except
110 self.report_error(node, err)
111 raise
112
113
114def eval_struct_info(self: Parser, node: doc.expr, eval_str: bool = False) -> StructInfo:

Callers 1

Calls 3

eval_exprMethod · 0.80
report_errorMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…