pub enum EmbedMode {
Embedded,
ExternalFile,
}Expand description
Whether the payload lives inline in the node or in an external file (§55.2).
Mirrors the embed_mode attribute: 1 (or absent, the §55.2 default) means
Embedded; 0 means ExternalFile.
Variants§
Embedded
embed_mode = 1: ep_cache_context holds the compiled blob inline.
ExternalFile
embed_mode = 0: ep_cache_context holds an external file path
(relative to the ONNX model file).
Trait Implementations§
impl Copy for EmbedMode
impl Eq for EmbedMode
impl StructuralPartialEq for EmbedMode
Auto Trait Implementations§
impl Freeze for EmbedMode
impl RefUnwindSafe for EmbedMode
impl Send for EmbedMode
impl Sync for EmbedMode
impl Unpin for EmbedMode
impl UnsafeUnpin for EmbedMode
impl UnwindSafe for EmbedMode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more