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

Method visit_tuple_

python/tvm/relax/testing/ast_printer.py:121–122  ·  view source on GitHub ↗
(self, op: relax.Tuple)

Source from the content-addressed store, hash-verified

119 return self.build_expr(op, "Constant", force_newline=force_newline, data=str(op.data))
120
121 def visit_tuple_(self, op: relax.Tuple) -> str:
122 return self.build_expr(op, "Tuple", fields=self.build_list(map(self.visit_expr, op.fields)))
123
124 def visit_dataflow_var_(self, op: relax.DataflowVar) -> str:
125 return self.build_expr(op, "DataflowVar", name_hint=wrap_quotes(op.name_hint))

Callers

nothing calls this directly

Calls 2

build_exprMethod · 0.95
build_listMethod · 0.95

Tested by

no test coverage detected