Skip to main content

Module mnn

Module mnn 

Source
Expand description

MNN Inference Engine FFI Binding Layer

This module encapsulates the low-level interfaces of the MNN C++ inference framework, providing safe Rust APIs.

Structs§

InferenceConfig
Inference configuration
InferenceEngine
MNN inference engine
SharedRuntime
Shared runtime for sharing resources between multiple engines

Enums§

Backend
Computation backend
DataFormat
Data format
MnnError
MNN-related errors
PrecisionMode
Precision mode

Functions§

get_version
Get MNN version

Type Aliases§

Result
MNN Result type