Trait HardSigmoidLayerTraitConst

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

    // Provided methods
    fn alpha(&self) -> f32 { ... }
    fn beta(&self) -> f32 { ... }
}
Expand description

Constant methods for crate::dnn::HardSigmoidLayer

Required Methods§

Provided Methods§

Source

fn alpha(&self) -> f32

Source

fn beta(&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§