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

Method visit_prim_value_

python/tvm/relax/testing/ast_printer.py:210–211  ·  view source on GitHub ↗
(self, op: relax.PrimValue)

Source from the content-addressed store, hash-verified

208 )
209
210 def visit_prim_value_(self, op: relax.PrimValue) -> str:
211 return self.build_expr(op, "PrimValue", value=self.visit_prim_expr_(op.value))
212
213 def visit_string_imm_(self, op: relax.StringImm) -> str:
214 return self.build_expr(op, "StringImm", value=wrap_quotes(op.value))

Callers

nothing calls this directly

Calls 2

build_exprMethod · 0.95
visit_prim_expr_Method · 0.95

Tested by

no test coverage detected