#[repr(transparent)]pub struct INT8Value(pub i8);Expand description
INT8 quantized value for neural computations
Tuple Fields§
§0: i8Implementations§
Trait Implementations§
Source§impl NeuralValue for INT8Value
impl NeuralValue for INT8Value
fn from_f32(value: f32) -> INT8Value
fn to_f32(self) -> f32
fn saturating_add(self, other: INT8Value) -> INT8Value
fn mul_leak(self, leak_coefficient: f32) -> INT8Value
fn ge(self, other: INT8Value) -> bool
fn lt(self, other: INT8Value) -> bool
fn zero() -> INT8Value
fn one() -> INT8Value
fn max_value() -> INT8Value
fn min_value() -> INT8Value
Source§impl Ord for INT8Value
impl Ord for INT8Value
Source§impl PartialOrd for INT8Value
impl PartialOrd for INT8Value
impl Copy for INT8Value
impl Eq for INT8Value
impl StructuralPartialEq for INT8Value
Auto Trait Implementations§
impl Freeze for INT8Value
impl RefUnwindSafe for INT8Value
impl Send for INT8Value
impl Sync for INT8Value
impl Unpin for INT8Value
impl UnwindSafe for INT8Value
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