Trait opencv::hub_prelude::LRNLayerTrait
source · pub trait LRNLayerTrait: LRNLayerTraitConst + LayerTrait {
// Required method
fn as_raw_mut_LRNLayer(&mut self) -> *mut c_void;
// Provided methods
fn set_type(&mut self, val: i32) { ... }
fn set_size(&mut self, val: i32) { ... }
fn set_alpha(&mut self, val: f32) { ... }
fn set_beta(&mut self, val: f32) { ... }
fn set_bias(&mut self, val: f32) { ... }
fn set_norm_by_size(&mut self, val: bool) { ... }
}Expand description
Mutable methods for crate::dnn::LRNLayer
Required Methods§
fn as_raw_mut_LRNLayer(&mut self) -> *mut c_void
Provided Methods§
fn set_type(&mut self, val: i32)
fn set_size(&mut self, val: i32)
fn set_alpha(&mut self, val: f32)
fn set_beta(&mut self, val: f32)
fn set_bias(&mut self, val: f32)
fn set_norm_by_size(&mut self, val: bool)
Object Safety§
This trait is not object safe.