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

Method visit_evaluate_

python/tvm/tirx/transform/common.py:180–184  ·  view source on GitHub ↗
(self, op: Evaluate)

Source from the content-addressed store, hash-verified

178 self.body = body
179
180 def visit_evaluate_(self, op: Evaluate):
181 value = op.value
182 if isinstance(value, Call) and value.op.same_as(Op.get("tirx.tvm_kernel_replace_point")):
183 return self.body
184 return super().visit_evaluate_(op)
185
186
187def seek_kernel_replace_point(stmt: Stmt, body: Stmt) -> Stmt:

Callers

nothing calls this directly

Calls 2

same_asMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected