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

Function _wrapper

python/tvm/script/parser/core/parser.py:334–339  ·  view source on GitHub ↗
(self: "Parser", node: doc.AST)

Source from the content-addressed store, hash-verified

332
333def _dispatch_wrapper(func: dispatch.ParseMethod) -> dispatch.ParseMethod:
334 def _wrapper(self: "Parser", node: doc.AST) -> None:
335 try:
336 return func(self, node)
337 except Exception as err: # pylint: disable=broad-except
338 self.report_error(node, err)
339 raise
340
341 return _wrapper
342

Callers

nothing calls this directly

Calls 2

report_errorMethod · 0.80
funcFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…