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

Method visit_With

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

The general with visiting method. Parameters ---------- node : doc.With The doc AST with node. Returns ------- res : Any The visiting result.

(self, node: doc.With)

Source from the content-addressed store, hash-verified

787 return _dispatch(self, "While")(self, node)
788
789 def visit_With(self, node: doc.With) -> Any: # pylint: disable=invalid-name
790 """The general with visiting method.
791
792 Parameters
793 ----------
794 node : doc.With
795 The doc AST with node.
796
797 Returns
798 -------
799 res : Any
800 The visiting result.
801 """
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.

Callers

nothing calls this directly

Calls 1

_dispatchFunction · 0.70

Tested by

no test coverage detected