pub struct BatchEncodingStats {
pub tensors_processed: usize,
pub avg_retention: f32,
pub min_retention: f32,
pub max_retention: f32,
pub total_input_bytes: usize,
pub total_output_bytes: usize,
pub per_tensor_retention: Vec<f32>,
}Expand description
Statistics from batch encoding.
Fields§
§tensors_processed: usizeNumber of tensors processed
avg_retention: f32Average retention ratio used
min_retention: f32Minimum retention used
max_retention: f32Maximum retention used
total_input_bytes: usizeTotal input bytes
total_output_bytes: usizeTotal output bytes (estimated)
per_tensor_retention: Vec<f32>Per-tensor retention ratios
Trait Implementations§
Source§impl Clone for BatchEncodingStats
impl Clone for BatchEncodingStats
Source§impl Debug for BatchEncodingStats
impl Debug for BatchEncodingStats
Auto Trait Implementations§
impl Forget for BatchEncodingStats
impl Freeze for BatchEncodingStats
impl RefUnwindSafe for BatchEncodingStats
impl Send for BatchEncodingStats
impl Sync for BatchEncodingStats
impl Unpin for BatchEncodingStats
impl UnsafeUnpin for BatchEncodingStats
impl UnwindSafe for BatchEncodingStats
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