pub struct ApproximateTensorStatistics {
pub mean: f64,
pub standard_deviation: f64,
pub histogram: Vec<HistogramBucket>,
}Expand description
Numerically stable statistics calculated from bounded logical samples.
Fields§
§mean: f64Arithmetic mean computed by Welford’s online method.
standard_deviation: f64Population standard deviation computed by Welford’s online method.
histogram: Vec<HistogramBucket>Histogram over the values used for the mean and standard deviation.
Trait Implementations§
Source§impl Clone for ApproximateTensorStatistics
impl Clone for ApproximateTensorStatistics
Source§fn clone(&self) -> ApproximateTensorStatistics
fn clone(&self) -> ApproximateTensorStatistics
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 ApproximateTensorStatistics
impl Debug for ApproximateTensorStatistics
Source§impl<'de> Deserialize<'de> for ApproximateTensorStatistics
impl<'de> Deserialize<'de> for ApproximateTensorStatistics
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
Source§impl PartialEq for ApproximateTensorStatistics
impl PartialEq for ApproximateTensorStatistics
Source§fn eq(&self, other: &ApproximateTensorStatistics) -> bool
fn eq(&self, other: &ApproximateTensorStatistics) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ApproximateTensorStatistics
Auto Trait Implementations§
impl Freeze for ApproximateTensorStatistics
impl RefUnwindSafe for ApproximateTensorStatistics
impl Send for ApproximateTensorStatistics
impl Sync for ApproximateTensorStatistics
impl Unpin for ApproximateTensorStatistics
impl UnsafeUnpin for ApproximateTensorStatistics
impl UnwindSafe for ApproximateTensorStatistics
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