# Apache TVM Python API

**Canonical:** https://apis.io/apis/apache-tvm/apache-tvm-python-api/  
**Provider:** Apache TVM — https://apis.io/providers/apache-tvm/  
**Documentation:** https://tvm.apache.org/docs/reference/api/python/

Apache TVM Python API is one of 2 APIs that [Apache TVM](https://apis.io/providers/apache-tvm/) publishes on the [APIs.io](https://apis.io/) network. Tagged areas include Python, Deep Learning, Model Optimization, and Compiler. The published artifact set on APIs.io includes API documentation.

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.

## Machine-readable artifacts (3)

- **Documentation** — https://tvm.apache.org/docs/reference/api/python/
- **SDKs** — https://pypi.org/project/apache-tvm/
- **APIsJSON** — https://raw.githubusercontent.com/api-evangelist/apache-tvm/refs/heads/main/apis.yml

## Other Apache TVM APIs (1)

- [Apache TVM RPC API](https://apis.io/apis/apache-tvm/apache-tvm-rpc-api/)

## Tags

Python, Deep Learning, Model Optimization, Compiler

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/apache-tvm/apache-tvm-python-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/apache-tvm/.
