#[repr(i32)]pub enum GatherMode {
kDEFAULT = 0,
kELEMENT = 1,
kND = 2,
}Expand description
! ! \brief Control form of IGatherLayer ! ! \see IGatherLayer !
Variants§
kDEFAULT = 0
!< Similar to ONNX Gather
kELEMENT = 1
!< Similar to ONNX GatherElements
kND = 2
!< Similar to ONNX GatherND
Trait Implementations§
Source§impl Clone for GatherMode
impl Clone for GatherMode
Source§fn clone(&self) -> GatherMode
fn clone(&self) -> GatherMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GatherMode
impl Debug for GatherMode
Source§impl From<GatherMode> for GatherMode
impl From<GatherMode> for GatherMode
Source§fn from(value: GatherMode) -> Self
fn from(value: GatherMode) -> Self
Converts to this type from the input type.
Source§impl Hash for GatherMode
impl Hash for GatherMode
Source§impl Into<GatherMode> for GatherMode
impl Into<GatherMode> for GatherMode
Source§fn into(self) -> GatherMode
fn into(self) -> GatherMode
Converts this type into the (usually inferred) input type.
Source§impl Ord for GatherMode
impl Ord for GatherMode
Source§fn cmp(&self, other: &GatherMode) -> Ordering
fn cmp(&self, other: &GatherMode) -> Ordering
1.21.0 (const: unstable) · 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 GatherMode
impl PartialEq for GatherMode
Source§fn eq(&self, other: &GatherMode) -> bool
fn eq(&self, other: &GatherMode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for GatherMode
impl PartialOrd for GatherMode
impl Copy for GatherMode
impl Eq for GatherMode
impl StructuralPartialEq for GatherMode
Auto Trait Implementations§
impl Freeze for GatherMode
impl RefUnwindSafe for GatherMode
impl Send for GatherMode
impl Sync for GatherMode
impl Unpin for GatherMode
impl UnsafeUnpin for GatherMode
impl UnwindSafe for GatherMode
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