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

Method visit_global_var_

python/tvm/relax/testing/ast_printer.py:140–141  ·  view source on GitHub ↗
(self, op: relax.GlobalVar)

Source from the content-addressed store, hash-verified

138 return self.build_ast_node("ExternFunc", global_symbol=wrap_quotes(op.global_symbol))
139
140 def visit_global_var_(self, op: relax.GlobalVar) -> str:
141 return self.build_expr(op, "GlobalVar", name_hint=wrap_quotes(op.name_hint))
142
143 def visit_function_(self, op: relax.Function) -> str:
144 fields = {

Callers

nothing calls this directly

Calls 2

build_exprMethod · 0.95
wrap_quotesFunction · 0.85

Tested by

no test coverage detected