BatchNormLayerTraitConst

Trait BatchNormLayerTraitConst 

Source
pub trait BatchNormLayerTraitConst: ActivationLayerTraitConst {
    // Required method
    fn as_raw_BatchNormLayer(&self) -> *const c_void;

    // Provided methods
    fn has_weights(&self) -> bool { ... }
    fn has_bias(&self) -> bool { ... }
    fn epsilon(&self) -> f32 { ... }
}
Expand description

Constant methods for crate::dnn::BatchNormLayer

Required Methods§

Provided Methods§

Source

fn has_weights(&self) -> bool

Source

fn has_bias(&self) -> bool

Source

fn epsilon(&self) -> 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§