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

Method visit_Assign

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

The general assign visiting method. Parameters ---------- node : doc.Assign The doc AST assign node. Returns ------- res : Any The visiting result.

(self, node: doc.Assign)

Source from the content-addressed store, hash-verified

802 return _dispatch(self, "With")(self, node)
803
804 def visit_Assign(self, node: doc.Assign) -> Any: # pylint: disable=invalid-name
805 """The general assign visiting method.
806
807 Parameters
808 ----------
809 node : doc.Assign
810 The doc AST assign node.
811
812 Returns
813 -------
814 res : Any
815 The visiting result.
816 """
817 return _dispatch(self, "Assign")(self, node)
818
819 def visit_AnnAssign(self, node: doc.AnnAssign) -> Any: # pylint: disable=invalid-name
820 """The general annotated assign visiting method.

Callers

nothing calls this directly

Calls 1

_dispatchFunction · 0.70

Tested by

no test coverage detected