Skip to content

Latest commit

 

History

History
50 lines (40 loc) · 1.84 KB

File metadata and controls

50 lines (40 loc) · 1.84 KB

tvm.script.parser

tvm.script.parser

.. automodule:: tvm.script.parser
   :members:
   :imported-members:

tvm.script.parser.protocol_registry

Language variants register source syntax policies independently of their construction hooks. Namespace objects and lazy initialization callbacks are registered through :func:`tvm.script.parser.register_namespace` and :func:`tvm.script.parser.register_namespace_initializer`.

.. automodule:: tvm.script.parser.protocol_registry
   :members: constexpr, register_scalar_annotation, mutable_cell_decl, result_span, module_decorator, declaration_kind

The language variant aliases below share the public construction namespaces documented in :doc:`script`. Parser entry points above use the canonical frontend.

tvm.script.parser.ir

.. automodule:: tvm.script.parser.ir

tvm.script.parser.relax

.. automodule:: tvm.script.parser.relax

tvm.script.parser.tirx

.. automodule:: tvm.script.parser.tirx