# If true, `todo` and `todoList` produce output, else they produce nothing.
todo_include_todos = False
+# sort autodoc order by the source file.
+autodoc_member_order = 'bysource'
+
# -- Options for HTML output ----------------------------------------------
# The theme is set by the make target
# pylint: disable=unused-import
"""Common data structures across all IR variants."""
from .base import SourceName, Span, Node, EnvFunc, load_json, save_json
-from .expr import BaseExpr, PrimExpr, RelayExpr, GlobalVar, BaseFunc, Range
from .type import Type, TypeKind, TypeVar, GlobalTypeVar, TupleType
from .type import TypeConstraint, FuncType, IncompleteType, RelayRefType
-from .type_relation import TypeCall, TypeRelation
from .tensor_type import TensorType
+from .type_relation import TypeCall, TypeRelation
+from .expr import BaseExpr, PrimExpr, RelayExpr, GlobalVar, BaseFunc, Range
from .adt import Constructor, TypeData
from .module import IRModule
from .attrs import Attrs
Parameters
----------
- other: Module
+ other: IRModule
The module to merge into the current Module.
"""
if isinstance(other, dict):
Returns
-------
- global_vars: tvm.Array[GlobalVar]
+ global_vars: Array[GlobalVar]
An array of global vars.
"""
return _ffi_api.Module_GetGlobalVars(self)
Returns
-------
- global_type_vars: tvm.Array[GlobalTypeVar]
+ global_type_vars: Array[GlobalTypeVar]
An array of global type vars.
"""
return _ffi_api.Module_GetGlobalTypeVars(self)