Enum wasmedge_sdk::plugin::GraphEncoding
source · pub enum GraphEncoding {
OpenVINO,
ONNX,
TensorFlow,
PyTorch,
TensorFlowLite,
Autodetect,
GGML,
}
Available on crate feature
wasi_nn
only.Expand description
Describes the encoding of the graph.
Variants§
Trait Implementations§
source§impl Clone for GraphEncoding
impl Clone for GraphEncoding
source§fn clone(&self) -> GraphEncoding
fn clone(&self) -> GraphEncoding
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GraphEncoding
impl Debug for GraphEncoding
source§impl Display for GraphEncoding
impl Display for GraphEncoding
source§impl FromStr for GraphEncoding
impl FromStr for GraphEncoding
source§impl Ord for GraphEncoding
impl Ord for GraphEncoding
source§fn cmp(&self, other: &GraphEncoding) -> Ordering
fn cmp(&self, other: &GraphEncoding) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for GraphEncoding
impl PartialEq for GraphEncoding
source§fn eq(&self, other: &GraphEncoding) -> bool
fn eq(&self, other: &GraphEncoding) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for GraphEncoding
impl PartialOrd for GraphEncoding
source§fn partial_cmp(&self, other: &GraphEncoding) -> Option<Ordering>
fn partial_cmp(&self, other: &GraphEncoding) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for GraphEncoding
impl StructuralEq for GraphEncoding
impl StructuralPartialEq for GraphEncoding
Auto Trait Implementations§
impl RefUnwindSafe for GraphEncoding
impl Send for GraphEncoding
impl Sync for GraphEncoding
impl Unpin for GraphEncoding
impl UnwindSafe for GraphEncoding
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