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

Method visit_tuple_getitem_

python/tvm/relax/testing/ast_printer.py:229–235  ·  view source on GitHub ↗
(self, op: relax.TupleGetItem)

Source from the content-addressed store, hash-verified

227 return self.build_ast_node("PrimExpr", value=f"`{prim_expr!s}`")
228
229 def visit_tuple_getitem_(self, op: relax.TupleGetItem) -> str:
230 return self.build_expr(
231 op,
232 "TupleGetItem",
233 tuple_value=self.visit_expr(op.tuple_value),
234 index=str(op.index),
235 )
236
237 def visit_type_(self, type_node: relax.Type) -> str:
238 """

Callers

nothing calls this directly

Calls 3

build_exprMethod · 0.95
visit_exprMethod · 0.95
strFunction · 0.85

Tested by

no test coverage detected