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

Method visit_match_cast_

tests/python/relax/test_expr_functor.py:174–179  ·  view source on GitHub ↗
(self, binding: MatchCast)

Source from the content-addressed store, hash-verified

172 self.log.pop_scope()
173
174 def visit_match_cast_(self, binding: MatchCast) -> None:
175 self.log.add("MatchCast")
176 self.log.push_scope()
177 self.visit_var_def(binding.var)
178 self.visit_expr(binding.value)
179 self.log.pop_scope()
180
181 def visit_binding_block_(self, block: BindingBlock) -> None:
182 self.log.add("BindingBlock")

Callers

nothing calls this directly

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