pub struct Normalize {
pub mean: Vec<f32>,
pub std: Vec<f32>,
}Expand description
Normalizes floating point slice values across channels: out[c] = (in[c] - mean[c]) / std[c].
Fields§
§mean: Vec<f32>Mean value per channel.
std: Vec<f32>Standard deviation value per channel.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Normalize
impl RefUnwindSafe for Normalize
impl Send for Normalize
impl Sync for Normalize
impl Unpin for Normalize
impl UnsafeUnpin for Normalize
impl UnwindSafe for Normalize
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