pub struct BatchNormLayer {
pub gamma: Tensor,
pub beta: Tensor,
pub running_mean: Tensor,
pub running_var: Tensor,
pub eps: f32,
}Fields§
§gamma: Tensor§beta: Tensor§running_mean: Tensor§running_var: Tensor§eps: f32Trait Implementations§
Source§impl Clone for BatchNormLayer
impl Clone for BatchNormLayer
Source§fn clone(&self) -> BatchNormLayer
fn clone(&self) -> BatchNormLayer
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BatchNormLayer
impl RefUnwindSafe for BatchNormLayer
impl Send for BatchNormLayer
impl Sync for BatchNormLayer
impl Unpin for BatchNormLayer
impl UnsafeUnpin for BatchNormLayer
impl UnwindSafe for BatchNormLayer
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