MCPcopy Index your code
hub / github.com/apache/tvm / visit_For

Method visit_For

python/tvm/script/parser/core/parser.py:759–772  ·  view source on GitHub ↗

The general for visiting method. Parameters ---------- node : doc.For The doc AST for node. Returns ------- res : Any The visiting result.

(self, node: doc.For)

Source from the content-addressed store, hash-verified

757 return _dispatch(self, "arguments")(self, node)
758
759 def visit_For(self, node: doc.For) -> Any: # pylint: disable=invalid-name
760 """The general for visiting method.
761
762 Parameters
763 ----------
764 node : doc.For
765 The doc AST for node.
766
767 Returns
768 -------
769 res : Any
770 The visiting result.
771 """
772 return _dispatch(self, "For")(self, node)
773
774 def visit_While(self, node: doc.While) -> Any: # pylint: disable=invalid-name
775 """The general while visiting method.

Callers

nothing calls this directly

Calls 1

_dispatchFunction · 0.70

Tested by

no test coverage detected