pub struct SparsityStats {
pub average_active_ratio: f64,
pub min_active: usize,
pub max_active: usize,
}Expand description
Statistics about sparsity during inference
Fields§
§average_active_ratio: f64§min_active: usize§max_active: usizeTrait Implementations§
Source§impl Clone for SparsityStats
impl Clone for SparsityStats
Source§fn clone(&self) -> SparsityStats
fn clone(&self) -> SparsityStats
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 moreAuto Trait Implementations§
impl Freeze for SparsityStats
impl RefUnwindSafe for SparsityStats
impl Send for SparsityStats
impl Sync for SparsityStats
impl Unpin for SparsityStats
impl UnwindSafe for SparsityStats
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