+++ /dev/null
-.. Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
-.. http://www.apache.org/licenses/LICENSE-2.0
-
-.. Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
-tvm.container
--------------
-.. automodule:: tvm.container
- :members:
tvm
runtime
ndarray
+ error
+ ir
intrin
tensor
schedule
target
build
- module
- error
- container
function
autotvm
- graph_runtime
rpc
- bridge
contrib
- ffi
+ graph_runtime
dev
topi
vta/index
--- /dev/null
+.. Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+.. http://www.apache.org/licenses/LICENSE-2.0
+
+.. Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+tvm.ir
+------
+.. automodule:: tvm.ir
+ :members:
+ :imported-members:
.. automodule:: tvm.runtime
-
.. autoclass:: tvm.runtime.PackedFunc
:members:
+ :inheritated-members:
.. autofunction:: tvm.register_func
# 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)