[][src]Trait opencv::prelude::ReLULayer

pub trait ReLULayer: ActivationLayer {
    pub fn as_raw_ReLULayer(&self) -> *const c_void;
pub fn as_raw_mut_ReLULayer(&mut self) -> *mut c_void; pub fn negative_slope(&self) -> f32 { ... }
pub fn set_negative_slope(&mut self, val: f32) { ... } }

Required methods

Loading content...

Provided methods

pub fn negative_slope(&self) -> f32[src]

pub fn set_negative_slope(&mut self, val: f32)[src]

Loading content...

Implementations

impl<'_> dyn ReLULayer + '_[src]

pub fn create(params: &LayerParams) -> Result<Ptr<dyn ReLULayer>>[src]

Implementors

Loading content...