BatchNormLayerTrait

Trait BatchNormLayerTrait 

Source
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)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§