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

Method visit_tvm_annotation

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

The general TVM annotation visiting method. Parameters ---------- node : doc.expr The doc AST expr node. Returns ------- res : Any The visiting result.

(self, node: doc.expr)

Source from the content-addressed store, hash-verified

683 self.visit(stmt)
684
685 def visit_tvm_annotation(self, node: doc.expr) -> Any:
686 """The general TVM annotation visiting method.
687
688 Parameters
689 ----------
690 node : doc.expr
691 The doc AST expr node.
692
693 Returns
694 -------
695 res : Any
696 The visiting result.
697 """
698 return _dispatch(self, "tvm_annotation")(self, node)
699
700 def visit_FunctionDef(self, node: doc.FunctionDef) -> None: # pylint: disable=invalid-name
701 """The general function definition visit method.

Callers 1

visit_ann_assignFunction · 0.80

Calls 1

_dispatchFunction · 0.70

Tested by

no test coverage detected