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

Method visit_tuple_

tests/python/relax/test_expr_functor.py:96–101  ·  view source on GitHub ↗
(self, op: Tuple)

Source from the content-addressed store, hash-verified

94 self.log.add("GlobalVar")
95
96 def visit_tuple_(self, op: Tuple) -> None:
97 self.log.add("Tuple")
98 self.log.push_scope()
99 for field in op.fields:
100 self.visit_expr(field)
101 self.log.pop_scope()
102
103 def visit_var_(self, op: Var) -> None:
104 self.log.add("Var")

Callers

nothing calls this directly

Calls 4

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

Tested by

no test coverage detected