1 unstable release

0.1.0-alpha Feb 23, 2021

#5 in #tvm

Apache-2.0

83KB
2K SLoC

tvm-graph-rt

An implementation of TVM's graph runtime in Rust. See tvm crate for more documentation.


lib.rs:

This crate is an implementation of the TVM runtime for modules compiled with --system-lib. It's mainly useful for compiling to WebAssembly and SGX, but also native if you prefer Rust to C++.

For TVM graphs, the entrypoint to this crate is runtime::GraphExecutor. Single-function modules are used via the packed_func! macro after obtaining the function from runtime::SystemLibModule

The main entrypoints to this crate are GraphExecutor For examples of use, please refer to the multi-file tests in the tests directory.

Dependencies

~4.5–8.5MB
~174K SLoC