Struct tch::nn::LayerNormConfig [−][src]
pub struct LayerNormConfig {
pub cudnn_enabled: bool,
pub eps: f64,
pub elementwise_affine: bool,
pub ws_init: Init,
pub bs_init: Init,
}
Expand description
Layer-normalization config.
Fields
cudnn_enabled: bool
eps: f64
elementwise_affine: bool
ws_init: Init
bs_init: Init
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for LayerNormConfig
impl Send for LayerNormConfig
impl Sync for LayerNormConfig
impl Unpin for LayerNormConfig
impl UnwindSafe for LayerNormConfig
Blanket Implementations
Mutably borrows from an owned value. Read more