#[repr(i32)]pub enum TopKOperation {
kMAX = 0,
kMIN = 1,
}Expand description
! ! \enum TopKOperation ! ! \brief Enumerates the operations that may be performed by a TopK layer. !
Variants§
Trait Implementations§
Source§impl Clone for TopKOperation
impl Clone for TopKOperation
Source§fn clone(&self) -> TopKOperation
fn clone(&self) -> TopKOperation
Returns a duplicate 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 TopKOperation
impl Debug for TopKOperation
Source§impl From<TopKOperation> for TopKOperation
impl From<TopKOperation> for TopKOperation
Source§fn from(value: TopKOperation) -> Self
fn from(value: TopKOperation) -> Self
Converts to this type from the input type.
Source§impl Hash for TopKOperation
impl Hash for TopKOperation
Source§impl Into<TopKOperation> for TopKOperation
impl Into<TopKOperation> for TopKOperation
Source§fn into(self) -> TopKOperation
fn into(self) -> TopKOperation
Converts this type into the (usually inferred) input type.
Source§impl Ord for TopKOperation
impl Ord for TopKOperation
Source§fn cmp(&self, other: &TopKOperation) -> Ordering
fn cmp(&self, other: &TopKOperation) -> 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 TopKOperation
impl PartialEq for TopKOperation
Source§impl PartialOrd for TopKOperation
impl PartialOrd for TopKOperation
impl Copy for TopKOperation
impl Eq for TopKOperation
impl StructuralPartialEq for TopKOperation
Auto Trait Implementations§
impl Freeze for TopKOperation
impl RefUnwindSafe for TopKOperation
impl Send for TopKOperation
impl Sync for TopKOperation
impl Unpin for TopKOperation
impl UnsafeUnpin for TopKOperation
impl UnwindSafe for TopKOperation
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