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

Method visit_If

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

The general if visiting method. Parameters ---------- node : doc.If The doc AST if node. Returns ------- res : Any The visiting result.

(self, node: doc.If)

Source from the content-addressed store, hash-verified

847 return _dispatch(self, "Expr")(self, node)
848
849 def visit_If(self, node: doc.If) -> Any: # pylint: disable=invalid-name
850 """The general if visiting method.
851
852 Parameters
853 ----------
854 node : doc.If
855 The doc AST if node.
856
857 Returns
858 -------
859 res : Any
860 The visiting result.
861 """
862 return _dispatch(self, "If")(self, node)
863
864 def visit_AugAssign(self, node: doc.AugAssign) -> Any: # pylint: disable=invalid-name
865 """The general augmented assignment visiting method.

Callers

nothing calls this directly

Calls 1

_dispatchFunction · 0.70

Tested by

no test coverage detected