pub struct NormStats {
pub input_mean: f64,
pub input_std: f64,
pub output_mean: f64,
pub output_std: f64,
pub gamma_mean: f64,
pub beta_mean: f64,
}Expand description
Normalization statistics for debugging and monitoring.
Fields§
§input_mean: f64Mean of the input tensor.
input_std: f64Standard deviation of the input tensor.
output_mean: f64Mean of the output tensor.
output_std: f64Standard deviation of the output tensor.
gamma_mean: f64Mean of the gamma (scale) parameter.
beta_mean: f64Mean of the beta (shift) parameter.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NormStats
impl RefUnwindSafe for NormStats
impl Send for NormStats
impl Sync for NormStats
impl Unpin for NormStats
impl UnsafeUnpin for NormStats
impl UnwindSafe for NormStats
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more