Expand description
Narrow Rust boundary for the project-owned MNN C++ bridge.
All raw pointers and FFI calls remain in this crate, the sole owner of
links = "mnn" and process coordination shared by higher-level runtimes.
Structs§
- Config
- Native engine configuration.
- Engine
- RAII wrapper around one interpreter and session.
- Native
Error - Error returned by the native bridge.
- Tensor
Info - Native tensor metadata.
Enums§
- Backend
- Native backend identifier understood by MNN.
Constants§
- MNN_
SYS_ CRATE_ VERSION - The pinned Rust ABI crate version.
Functions§
- backend_
available - Whether the linked MNN library registered a backend.
- execution_
gate - Shared gate for complete native transactions, including creation and destruction. Advanced users opting out must coordinate their own MNN access.
- version
- Linked MNN native version.