Enum onnxruntime_sys::OrtMemType [−][src]
#[repr(i32)] pub enum OrtMemType { OrtMemTypeCPUInput, OrtMemTypeCPUOutput, OrtMemTypeDefault, }
Expand description
memory types for allocator, exec provider specific types should be extended in each provider Whenever this struct is updated, please also update the MakeKey function in onnxruntime/core/framework/execution_provider.cc
Variants
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for OrtMemType
impl Send for OrtMemType
impl Sync for OrtMemType
impl Unpin for OrtMemType
impl UnwindSafe for OrtMemType
Blanket Implementations
Mutably borrows from an owned value. Read more