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

Method visit_var_binding_

tests/python/relax/test_expr_functor.py:167–172  ·  view source on GitHub ↗
(self, binding: VarBinding)

Source from the content-addressed store, hash-verified

165 self.log.pop_scope()
166
167 def visit_var_binding_(self, binding: VarBinding) -> None:
168 self.log.add("VarBinding")
169 self.log.push_scope()
170 self.visit_expr(binding.value)
171 self.visit_var_def(binding.var)
172 self.log.pop_scope()
173
174 def visit_match_cast_(self, binding: MatchCast) -> None:
175 self.log.add("MatchCast")

Callers 2

visit_var_binding_Method · 0.45
visit_var_binding_Method · 0.45

Calls 5

visit_exprMethod · 0.95
addMethod · 0.45
push_scopeMethod · 0.45
visit_var_defMethod · 0.45
pop_scopeMethod · 0.45

Tested by

no test coverage detected