Crate tvm[][src]

Expand description

TVM is a compiler stack for deep learning systems.

This crate provides an idiomatic Rust API for TVM runtime frontend.

One particular use case is that given optimized deep learning model artifacts, (compiled with TVM) which include a shared library lib.so, graph.json and a byte-array param.params, one can load them in Rust idiomatically to create a TVM Graph Executor and run the model for some inputs and get the desired predictions all in Rust.

Checkout the examples repository for more details.

Modules

This module provides an idiomatic Rust API for creating and working with TVM functions.

Provides the Module type and methods for working with runtime TVM modules.

This module implements the NDArray type for working with TVM tensors or coverting from a Rust’s ndarray to TVM NDArray.

Macros

A macro for generating the correct TVM symbols for plugin loading.

Structs

An owned thread-safe version of tvm::PackedFunc for consumption in Rust.

Enums

Device type represents the set of devices supported by TVM.

Functions

Outputs the current TVM version.