..  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.

Python API
==========

.. toctree::
    :maxdepth: 1
    :caption: tvm

    error
    ir
    arith
    instrument
    transform
    target
    driver
    testing
    exec
    support

.. toctree::
    :maxdepth: 1
    :caption: tvm.runtime

    runtime/runtime
    runtime/vm
    runtime/disco

.. toctree::
    :maxdepth: 1
    :caption: tvm.relax

    relax/relax
    relax/analysis
    relax/backend
    relax/block_builder
    relax/distributed
    relax/frontend
    relax/op
    relax/testing
    relax/training
    relax/transform
    relax/dpl

.. toctree::
    :maxdepth: 1
    :caption: tvm.tirx

    tirx/tirx
    tirx/analysis
    tirx/stmt_functor
    tirx/transform
    tirx/backend

.. toctree::
    :maxdepth: 1
    :caption: tvm.s_tir

    s_tir/analysis
    s_tir/schedule
    s_tir/transform
    s_tir/dlight
    s_tir/backend
    s_tir/tensor_intrin

.. toctree::
    :maxdepth: 1
    :caption: tvm.script

    script/script
    script/parser
    script/ir_builder
    script/printer

.. toctree::
    :maxdepth: 1
    :caption: tvm.te

    te
    topi

.. toctree::
    :maxdepth: 1
    :caption: tvm.s_tir.meta_schedule

    meta_schedule



.. toctree::
    :maxdepth: 1
    :caption: Misc

    rpc
    contrib
