#[repr(C)]pub enum ReduceTypes {
REDUCE_SUM = 0,
REDUCE_AVG = 1,
REDUCE_MAX = 2,
REDUCE_MIN = 3,
REDUCE_SUM2 = 4,
}
Variants§
REDUCE_SUM = 0
the output is the sum of all rows/columns of the matrix.
REDUCE_AVG = 1
the output is the mean vector of all rows/columns of the matrix.
REDUCE_MAX = 2
the output is the maximum (column/row-wise) of all rows/columns of the matrix.
REDUCE_MIN = 3
the output is the minimum (column/row-wise) of all rows/columns of the matrix.
REDUCE_SUM2 = 4
the output is the sum of all squared rows/columns of the matrix.
Trait Implementations§
Source§impl Clone for ReduceTypes
impl Clone for ReduceTypes
Source§fn clone(&self) -> ReduceTypes
fn clone(&self) -> ReduceTypes
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 ReduceTypes
impl Debug for ReduceTypes
Source§impl From<ReduceTypes> for i32
impl From<ReduceTypes> for i32
Source§fn from(v: ReduceTypes) -> Self
fn from(v: ReduceTypes) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ReduceTypes
impl PartialEq for ReduceTypes
Source§impl TryFrom<i32> for ReduceTypes
impl TryFrom<i32> for ReduceTypes
impl Copy for ReduceTypes
impl Eq for ReduceTypes
impl StructuralPartialEq for ReduceTypes
Auto Trait Implementations§
impl Freeze for ReduceTypes
impl RefUnwindSafe for ReduceTypes
impl Send for ReduceTypes
impl Sync for ReduceTypes
impl Unpin for ReduceTypes
impl UnwindSafe for ReduceTypes
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