#[repr(i32)]pub enum CumulativeOperation {
kSUM = 0,
}Expand description
! ! \enum CumulativeOperation ! ! \brief Enumerates the cumulative operations that may be performed by a Cumulative layer. ! ! The table shows the initial value of each Cumulative operation. ! ! Operation | kFLOAT, kHALF, kBF16 | kINT32, kINT64 | ! ——— | –––––––––– | ––––––– | ! kSUM | +0.0 | 0 | !
Variants§
kSUM = 0
!< Calculate cumulative sum.
Trait Implementations§
Source§impl Clone for CumulativeOperation
impl Clone for CumulativeOperation
Source§fn clone(&self) -> CumulativeOperation
fn clone(&self) -> CumulativeOperation
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 CumulativeOperation
impl Debug for CumulativeOperation
Source§impl From<CumulativeOperation> for CumulativeOperation
impl From<CumulativeOperation> for CumulativeOperation
Source§fn from(value: CumulativeOperation) -> Self
fn from(value: CumulativeOperation) -> Self
Converts to this type from the input type.
Source§impl Hash for CumulativeOperation
impl Hash for CumulativeOperation
Source§impl Into<CumulativeOperation> for CumulativeOperation
impl Into<CumulativeOperation> for CumulativeOperation
Source§fn into(self) -> CumulativeOperation
fn into(self) -> CumulativeOperation
Converts this type into the (usually inferred) input type.
Source§impl Ord for CumulativeOperation
impl Ord for CumulativeOperation
Source§fn cmp(&self, other: &CumulativeOperation) -> Ordering
fn cmp(&self, other: &CumulativeOperation) -> 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 CumulativeOperation
impl PartialEq for CumulativeOperation
Source§fn eq(&self, other: &CumulativeOperation) -> bool
fn eq(&self, other: &CumulativeOperation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for CumulativeOperation
impl PartialOrd for CumulativeOperation
impl Copy for CumulativeOperation
impl Eq for CumulativeOperation
impl StructuralPartialEq for CumulativeOperation
Auto Trait Implementations§
impl Freeze for CumulativeOperation
impl RefUnwindSafe for CumulativeOperation
impl Send for CumulativeOperation
impl Sync for CumulativeOperation
impl Unpin for CumulativeOperation
impl UnsafeUnpin for CumulativeOperation
impl UnwindSafe for CumulativeOperation
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