[−][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]
pub unsafe fn from_raw(ptr: *mut c_void) -> Self
[src]
pub fn into_raw(self) -> *mut c_void
[src]
pub fn as_raw(&self) -> *const c_void
[src]
pub fn as_raw_mut(&mut self) -> *mut c_void
[src]
impl DictTrait for LayerParams
[src]
pub fn as_raw_Dict(&self) -> *const c_void
[src]
pub fn as_raw_mut_Dict(&mut self) -> *mut c_void
[src]
pub fn has(&self, key: &str) -> Result<bool>
[src]
pub unsafe fn ptr_mut(&mut self, key: &str) -> Result<DictValue>
[src]
pub unsafe fn ptr(&self, key: &str) -> Result<DictValue>
[src]
pub fn get(&self, key: &str) -> Result<DictValue>
[src]
pub fn set_str(&mut self, key: &str, value: &str) -> Result<String>
[src]
pub fn set(&mut self, key: &str, value: &DictValue) -> Result<DictValue>
[src]
pub fn set_f64(&mut self, key: &str, value: &f64) -> Result<f64>
[src]
pub fn set_i64(&mut self, key: &str, value: &i64) -> Result<i64>
[src]
pub fn erase(&mut self, key: &str) -> Result<()>
[src]
impl Drop for LayerParams
[src]
impl LayerParamsTrait for LayerParams
[src]
pub fn as_raw_LayerParams(&self) -> *const c_void
[src]
pub fn as_raw_mut_LayerParams(&mut self) -> *mut c_void
[src]
pub fn blobs(&mut self) -> Vector<Mat>
[src]
pub fn set_blobs(&mut self, val: Vector<Mat>)
[src]
pub fn name(&self) -> String
[src]
pub fn set_name(&mut self, val: &str)
[src]
pub fn typ(&self) -> String
[src]
pub fn set_type(&mut self, val: &str)
[src]
impl Send for LayerParams
[src]
Auto Trait Implementations
impl RefUnwindSafe for LayerParams
[src]
impl !Sync for LayerParams
[src]
impl Unpin for LayerParams
[src]
impl UnwindSafe for LayerParams
[src]
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,
pub 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.
pub 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>,