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

Method visit_string_imm_

python/tvm/relax/testing/ast_printer.py:213–214  ·  view source on GitHub ↗
(self, op: relax.StringImm)

Source from the content-addressed store, hash-verified

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))
215
216 def visit_data_type_imm_(self, op: relax.DataTypeImm) -> str:
217 return self.build_expr(op, "DataTypeImm", value=op.value)

Callers

nothing calls this directly

Calls 2

build_exprMethod · 0.95
wrap_quotesFunction · 0.85

Tested by

no test coverage detected