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

Method visit_Expr

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

The general expression visiting method. Parameters ---------- node : doc.Expr The doc AST expression node. Returns ------- res : Any The visiting result.

(self, node: doc.Expr)

Source from the content-addressed store, hash-verified

832 return _dispatch(self, "AnnAssign")(self, node)
833
834 def visit_Expr(self, node: doc.Expr) -> Any: # pylint: disable=invalid-name
835 """The general expression visiting method.
836
837 Parameters
838 ----------
839 node : doc.Expr
840 The doc AST expression node.
841
842 Returns
843 -------
844 res : Any
845 The visiting result.
846 """
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.

Callers

nothing calls this directly

Calls 1

_dispatchFunction · 0.70

Tested by

no test coverage detected