pub struct QuantError {
pub mse: f32,
pub max_error: f32,
pub snr_db: f32,
pub compression_ratio: f32,
}Expand description
Quantization error statistics.
Fields§
§mse: f32§max_error: f32§snr_db: f32§compression_ratio: f32Trait Implementations§
Source§impl Clone for QuantError
impl Clone for QuantError
Source§fn clone(&self) -> QuantError
fn clone(&self) -> QuantError
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 QuantError
impl Debug for QuantError
Auto Trait Implementations§
impl Freeze for QuantError
impl RefUnwindSafe for QuantError
impl Send for QuantError
impl Sync for QuantError
impl Unpin for QuantError
impl UnsafeUnpin for QuantError
impl UnwindSafe for QuantError
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