ort2 0.1.2

onnxruntime wrapper c/c++ api
Documentation
#![doc = include_str!("../README.md")]

/// onnxruntime OrtAllocator
pub mod allocator;
/// c api wrapper and utils
pub(crate) mod api;
/// onnxruntime OrtEnv
pub mod environment;
/// error handle
pub mod error;
/// onnxruntime OrtMemInfo
pub mod memory;

/// onnxruntime OrtIoBinding
pub mod iobinding;
/// onnxurntime OrtSession
pub mod session;
/// onnxruntime OrtValue
pub mod value;

/// prelude
pub mod prelude {
    pub use super::allocator::{Allocator, AllocatorTrait, DefaultAllocator};
    pub use super::api::get_api_version;
    pub use super::environment::Environment;
    pub use super::memory::MemoryInfo;
    pub use super::session::{Session, SessionBuilder};
    pub use super::value::{TensorTrait, TensorTypeAndShapeInfoTrait, Value};
    pub use ort2_sys::{
        ONNXTensorElementDataType, ONNXType, OrtAllocatorType, OrtLoggingLevel, OrtMemType,
        OrtMemoryInfoDeviceType,
    };
}