pub struct BatchNorm2d<T: Num, D: Device> {
pub scale: Variable<T, D>,
pub bias: Variable<T, D>,
pub mean: Variable<T, D>,
pub variance: Variable<T, D>,
/* private fields */
}Fields§
§scale: Variable<T, D>§bias: Variable<T, D>§mean: Variable<T, D>§variance: Variable<T, D>Implementations§
Trait Implementations§
Source§impl<T: Num, D: Device> Parameters<T, D> for BatchNorm2d<T, D>
impl<T: Num, D: Device> Parameters<T, D> for BatchNorm2d<T, D>
Auto Trait Implementations§
impl<T, D> !Freeze for BatchNorm2d<T, D>
impl<T, D> !RefUnwindSafe for BatchNorm2d<T, D>
impl<T, D> !Send for BatchNorm2d<T, D>
impl<T, D> !Sync for BatchNorm2d<T, D>
impl<T, D> Unpin for BatchNorm2d<T, D>
impl<T, D> !UnwindSafe for BatchNorm2d<T, D>
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