[−][src]Struct opencv::dnn::LayerParams
This class provides all data needed to initialize layer.
It includes dictionary with scalar params (which can be read by using Dict interface), blob params #blobs and optional meta information: #name and #type of layer instance.
Implementations
impl LayerParams[src]
pub fn as_raw_LayerParams(&self) -> *const c_void[src]
pub fn as_raw_mut_LayerParams(&mut self) -> *mut c_void[src]
impl LayerParams[src]
Trait Implementations
impl Boxed for LayerParams[src]
unsafe fn from_raw(ptr: *mut c_void) -> Self[src]
fn into_raw(self) -> *mut c_void[src]
fn as_raw(&self) -> *const c_void[src]
fn as_raw_mut(&mut self) -> *mut c_void[src]
impl DictTrait for LayerParams[src]
fn as_raw_Dict(&self) -> *const c_void[src]
fn as_raw_mut_Dict(&mut self) -> *mut c_void[src]
fn has(&self, key: &str) -> Result<bool>[src]
unsafe fn ptr_mut(&mut self, key: &str) -> Result<DictValue>[src]
unsafe fn ptr(&self, key: &str) -> Result<DictValue>[src]
fn get(&self, key: &str) -> Result<DictValue>[src]
fn set_str(&mut self, key: &str, value: &str) -> Result<String>[src]
fn set(&mut self, key: &str, value: &DictValue) -> Result<DictValue>[src]
fn set_f64(&mut self, key: &str, value: &f64) -> Result<f64>[src]
fn set_i64(&mut self, key: &str, value: &i64) -> Result<i64>[src]
fn erase(&mut self, key: &str) -> Result<()>[src]
impl Drop for LayerParams[src]
impl LayerParamsTrait for LayerParams[src]
fn as_raw_LayerParams(&self) -> *const c_void[src]
fn as_raw_mut_LayerParams(&mut self) -> *mut c_void[src]
fn blobs(&mut self) -> Vector<Mat>[src]
fn set_blobs(&mut self, val: Vector<Mat>)[src]
fn name(&self) -> String[src]
fn set_name(&mut self, val: &str)[src]
fn typ(&self) -> String[src]
fn set_type(&mut self, val: &str)[src]
impl Send for LayerParams[src]
Auto Trait Implementations
impl RefUnwindSafe for LayerParams
impl !Sync for LayerParams
impl Unpin for LayerParams
impl UnwindSafe for LayerParams
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,