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

Method visit_add_

tests/python/tirx-base/test_tir_expr_functor.py:706–711  ·  view source on GitHub ↗
(self, op: Add)

Source from the content-addressed store, hash-verified

704
705 class LeafVisitor(InternalVisitor):
706 def visit_add_(self, op: Add) -> None:
707 self.log.add("LeafAdd")
708 self.log.push_scope()
709 self.visit_expr(op.a)
710 self.visit_expr(op.b)
711 self.log.pop_scope()
712
713 add_node = tir.Add(n, m)
714 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_add_Method · 0.45

Tested by

no test coverage detected