Apache TVM Python API

The TVM Python API provides a comprehensive interface for model compilation, optimization, and deployment. Key modules include tvm.relay for defining and optimizing computational graphs, tvm.auto_scheduler for auto-tuning operator schedules, tvm.micro for microcontroller deployment (MicroTVM), and tvm.rpc for remote deployment and profiling. The tvmc command-line tool provides a simplified interface for common TVM workflows.

API entry from apis.yml

apis.yml Raw ↑
aid: apache-tvm:apache-tvm-python-api
name: Apache TVM Python API
description: The TVM Python API provides a comprehensive interface for model compilation, optimization,
  and deployment. Key modules include tvm.relay for defining and optimizing computational graphs, tvm.auto_scheduler
  for auto-tuning operator schedules, tvm.micro for microcontroller deployment (MicroTVM), and tvm.rpc
  for remote deployment and profiling. The tvmc command-line tool provides a simplified interface for
  common TVM workflows.
humanURL: https://tvm.apache.org/docs/reference/api/python/
tags:
- Python
- Deep Learning
- Model Optimization
- Compiler
properties:
- type: Documentation
  url: https://tvm.apache.org/docs/reference/api/python/
- type: SDK
  url: https://pypi.org/project/apache-tvm/
  title: Python Package (PyPI)