pub struct EntropyCoeffResult {
pub entropy_sum: f32,
pub nzeros_sum: f32,
pub info_loss_sum: f32,
pub info_loss2_sum: f32,
}Expand description
Results from vectorized entropy coefficient processing.
Fields§
§entropy_sum: f32Sum of sqrt(|round(val)|) * cost_delta for all coefficients.
nzeros_sum: f32Count of non-zero quantized coefficients.
info_loss_sum: f32Sum of |val - round(val)| (coefficient-domain mode only).
info_loss2_sum: f32Sum of (val - round(val))^2 (coefficient-domain mode only).
Trait Implementations§
Source§impl Clone for EntropyCoeffResult
impl Clone for EntropyCoeffResult
Source§fn clone(&self) -> EntropyCoeffResult
fn clone(&self) -> EntropyCoeffResult
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 Debug for EntropyCoeffResult
impl Debug for EntropyCoeffResult
impl Copy for EntropyCoeffResult
Auto Trait Implementations§
impl Freeze for EntropyCoeffResult
impl RefUnwindSafe for EntropyCoeffResult
impl Send for EntropyCoeffResult
impl Sync for EntropyCoeffResult
impl Unpin for EntropyCoeffResult
impl UnwindSafe for EntropyCoeffResult
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