pub struct EncodeStats {}Expand description
What the encoder did, for benchmarking.
Fields§
§bytes: usizeTotal stream size in bytes (everything).
bits_per_value: f648·bytes / cells.
header_bytes: usizeBytes before the core payload (header, ranks, step exponents).
core_bytes: usizeCore payload bytes (tables + rANS + raw bits).
residual_bytes: usizeResidual-correction stream bytes (max-abs mode).
n_residual: usizeNumber of corrected cells.
ranks: Vec<usize>TT bond ranks.
modes: Vec<usize>Tensor mode sizes.
delta: f64Final absolute step Δ.
passes: usizeEncoder passes run.
rmse: f64Achieved RMSE over the original cells.
max_abs: f64Achieved max-abs error over the original cells.
range: f64Value range of the input.
Trait Implementations§
Source§impl Clone for EncodeStats
impl Clone for EncodeStats
Source§impl Debug for EncodeStats
impl Debug for EncodeStats
Source§impl PartialEq for EncodeStats
impl PartialEq for EncodeStats
impl StructuralPartialEq for EncodeStats
Auto Trait Implementations§
impl Freeze for EncodeStats
impl RefUnwindSafe for EncodeStats
impl Send for EncodeStats
impl Sync for EncodeStats
impl Unpin for EncodeStats
impl UnsafeUnpin for EncodeStats
impl UnwindSafe for EncodeStats
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