Module inference

Module inference 

Source
Expand description

Structures and helpers for ONNX Runtime inference.

This module centralizes the low level inference engine along with thin wrappers that adapt it to the InferenceEngine trait used across the pipeline.

Re-exports§

pub use image_reader::DefaultImageReader;
pub use ort_infer::OrtInfer;
pub use session::load_session;
pub use wrappers::OrtInfer2D;
pub use wrappers::OrtInfer3D;
pub use wrappers::OrtInfer4D;

Modules§

image_reader
Default implementation of the ImageReader trait used by inference builders.
ort_infer
Core ONNX Runtime inference engine with support for pooling and configurable sessions.
session
Helpers for working directly with ONNX Runtime sessions.
wrappers
Small helpers that wrap OrtInfer into concrete dimensional InferenceEngine implementations.