pub enum TensorStatistics {
Available(ApproximateTensorStatistics),
Unavailable {
reason: ApproximationUnavailable,
},
}Expand description
Approximate statistics, or an explicit reason they are unavailable.
Variants§
Available(ApproximateTensorStatistics)
Binary64 statistics over the reported sample set.
Statistics were omitted rather than rounded into a misleading result.
Trait Implementations§
Source§impl Clone for TensorStatistics
impl Clone for TensorStatistics
Source§fn clone(&self) -> TensorStatistics
fn clone(&self) -> TensorStatistics
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 TensorStatistics
impl Debug for TensorStatistics
Source§impl<'de> Deserialize<'de> for TensorStatistics
impl<'de> Deserialize<'de> for TensorStatistics
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 TensorStatistics
impl PartialEq for TensorStatistics
Source§fn eq(&self, other: &TensorStatistics) -> bool
fn eq(&self, other: &TensorStatistics) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TensorStatistics
impl Serialize for TensorStatistics
impl StructuralPartialEq for TensorStatistics
Auto Trait Implementations§
impl Freeze for TensorStatistics
impl RefUnwindSafe for TensorStatistics
impl Send for TensorStatistics
impl Sync for TensorStatistics
impl Unpin for TensorStatistics
impl UnsafeUnpin for TensorStatistics
impl UnwindSafe for TensorStatistics
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