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

Method visit_call_

tests/python/relax/test_expr_functor.py:603–610  ·  view source on GitHub ↗
(self, op: Call)

Source from the content-addressed store, hash-verified

601 @relax.expr_functor.visitor
602 class LeafVisitor(InternalVisitor):
603 def visit_call_(self, op: Call) -> None:
604 self.log.add("LeafCall")
605 self.log.push_scope()
606 self.visit_expr(op.op)
607
608 for arg in op.args:
609 self.visit_expr(arg)
610 self.log.pop_scope()
611
612 call_node = relax.op.add(x, y)
613 lv = LeafVisitor()

Callers

nothing calls this directly

Calls 5

addMethod · 0.45
push_scopeMethod · 0.45
visit_exprMethod · 0.45
pop_scopeMethod · 0.45
visit_call_Method · 0.45

Tested by

no test coverage detected