Struct tch::nn::GroupNormConfig  
source · pub struct GroupNormConfig {
    pub cudnn_enabled: bool,
    pub eps: f64,
    pub affine: bool,
    pub ws_init: Init,
    pub bs_init: Init,
}Expand description
Group-normalization config.
Fields§
§cudnn_enabled: bool§eps: f64§affine: bool§ws_init: Init§bs_init: InitTrait Implementations§
source§impl Clone for GroupNormConfig
 
impl Clone for GroupNormConfig
source§fn clone(&self) -> GroupNormConfig
 
fn clone(&self) -> GroupNormConfig
Returns a copy 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 moresource§impl Debug for GroupNormConfig
 
impl Debug for GroupNormConfig
source§impl Default for GroupNormConfig
 
impl Default for GroupNormConfig
impl Copy for GroupNormConfig
Auto Trait Implementations§
impl RefUnwindSafe for GroupNormConfig
impl Send for GroupNormConfig
impl Sync for GroupNormConfig
impl Unpin for GroupNormConfig
impl UnwindSafe for GroupNormConfig
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