pub struct QuantSpec {
pub step: f64,
pub range: Option<(f64, f64)>,
pub wire_width: u8,
}Expand description
Quantisation parameters for one field: step, optional declared range and wire width.
Fields§
§step: f64§range: Option<(f64, f64)>§wire_width: u8Trait Implementations§
impl Copy for QuantSpec
impl StructuralPartialEq for QuantSpec
Auto Trait Implementations§
impl Freeze for QuantSpec
impl RefUnwindSafe for QuantSpec
impl Send for QuantSpec
impl Sync for QuantSpec
impl Unpin for QuantSpec
impl UnsafeUnpin for QuantSpec
impl UnwindSafe for QuantSpec
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