pub enum IeeeBinaryConvolutionMode {
Normal = 0,
Zealous = 1,
}
Expand description
Specifies the preferred convolution precision mode for IEEE 754 binary32 (f32
) data.
Variants§
Normal = 0
Exact precision, f32 accumulator and weights will be used.
Zealous = 1
High precision using f64
for intermediate accumulation.
This significantly reduces numerical error in convolution results.
Trait Implementations§
Source§impl Clone for IeeeBinaryConvolutionMode
impl Clone for IeeeBinaryConvolutionMode
Source§fn clone(&self) -> IeeeBinaryConvolutionMode
fn clone(&self) -> IeeeBinaryConvolutionMode
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 Default for IeeeBinaryConvolutionMode
impl Default for IeeeBinaryConvolutionMode
Source§fn default() -> IeeeBinaryConvolutionMode
fn default() -> IeeeBinaryConvolutionMode
Returns the “default value” for a type. Read more
Source§impl Ord for IeeeBinaryConvolutionMode
impl Ord for IeeeBinaryConvolutionMode
Source§fn cmp(&self, other: &IeeeBinaryConvolutionMode) -> Ordering
fn cmp(&self, other: &IeeeBinaryConvolutionMode) -> 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 PartialOrd for IeeeBinaryConvolutionMode
impl PartialOrd for IeeeBinaryConvolutionMode
impl Copy for IeeeBinaryConvolutionMode
impl Eq for IeeeBinaryConvolutionMode
impl StructuralPartialEq for IeeeBinaryConvolutionMode
Auto Trait Implementations§
impl Freeze for IeeeBinaryConvolutionMode
impl RefUnwindSafe for IeeeBinaryConvolutionMode
impl Send for IeeeBinaryConvolutionMode
impl Sync for IeeeBinaryConvolutionMode
impl Unpin for IeeeBinaryConvolutionMode
impl UnwindSafe for IeeeBinaryConvolutionMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more