pub trait BatchNormLayerTrait: ActivationLayerTrait + BatchNormLayerTraitConst {
    // Required method
    fn as_raw_mut_BatchNormLayer(&mut self) -> *mut c_void;

    // Provided methods
    fn set_has_weights(&mut self, val: bool) { ... }
    fn set_has_bias(&mut self, val: bool) { ... }
    fn set_epsilon(&mut self, val: f32) { ... }
}
Expand description

Mutable methods for crate::dnn::BatchNormLayer

Required Methods§

Provided Methods§

source

fn set_has_weights(&mut self, val: bool)

source

fn set_has_bias(&mut self, val: bool)

source

fn set_epsilon(&mut self, val: f32)

Object Safety§

This trait is not object safe.

Implementors§