Rust API

Contents

Rust API#

This page contains the API reference for the Rust API. The tvm-ffi project provides Rust bindings that allow you to use the TVM FFI from Rust programs.

Crates#

The Rust API is organized into three crates:

Crate

Description

📦 tvm-ffi

High-level Rust bindings with safe abstractions for FFI objects, functions, tensors, and containers.

📦 tvm-ffi-sys

Low-level unsafe bindings to the C API.

📦 tvm-ffi-macros

Procedural macros for deriving Object and ObjectRef traits.