File stl.h#

Parent directory (tvm/ffi/extra)

STL container support.

Definition (tvm/ffi/extra/stl.h)#

Detailed Description#

This file is an extra extension of TVM FFI, which provides support for STL containers in C++ exported functions.

Whenever possible, prefer using tvm/ffi/container/ implementations, such as tvm::ffi::Array and tvm::ffi::Tuple, over STL containers.

Native ffi objects comes with stable data layout and can be directly accessed through compiled languages (Rust) and DSLs(via LLVM) with raw pointer access for better performance and compatibility.

Includes#

Namespaces#