pub struct ActivationStats {
pub mean: f32,
pub std_dev: f32,
pub min: f32,
pub max: f32,
pub sparsity: f32,
}Expand description
Basic descriptive statistics for a layer activation tensor.
Fields§
§mean: f32§std_dev: f32§min: f32§max: f32§sparsity: f32Trait Implementations§
Source§impl Clone for ActivationStats
impl Clone for ActivationStats
Source§fn clone(&self) -> ActivationStats
fn clone(&self) -> ActivationStats
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 ActivationStats
impl Debug for ActivationStats
Source§impl<'de> Deserialize<'de> for ActivationStats
impl<'de> Deserialize<'de> for ActivationStats
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ActivationStats
impl RefUnwindSafe for ActivationStats
impl Send for ActivationStats
impl Sync for ActivationStats
impl Unpin for ActivationStats
impl UnsafeUnpin for ActivationStats
impl UnwindSafe for ActivationStats
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