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

Function wrap_quotes

python/tvm/relax/testing/ast_printer.py:33–37  ·  view source on GitHub ↗

Wraps the text in quotes.

(text: str)

Source from the content-addressed store, hash-verified

31
32
33def wrap_quotes(text: str) -> str:
34 """
35 Wraps the text in quotes.
36 """
37 return f'"{text}"'
38
39
40class ASTPrinter(ExprFunctor):

Callers 8

visit_dataflow_var_Method · 0.85
visit_var_Method · 0.85
visit_extern_func_Method · 0.85
visit_global_var_Method · 0.85
visit_function_Method · 0.85
display_attrsMethod · 0.85
visit_string_imm_Method · 0.85
visit_op_Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…