ReLU6LayerTraitConst

Trait ReLU6LayerTraitConst 

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

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

Constant methods for crate::dnn::ReLU6Layer

Required Methods§

Provided Methods§

Source

fn min_value(&self) -> f32

Source

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