Trait opencv::dnn::prelude::LayerParamsTrait[][src]

pub trait LayerParamsTrait: DictTrait {
    fn as_raw_LayerParams(&self) -> *const c_void;
fn as_raw_mut_LayerParams(&mut self) -> *mut c_void; fn blobs(&mut self) -> Vector<Mat> { ... }
fn set_blobs(&mut self, val: Vector<Mat>) { ... }
fn name(&self) -> String { ... }
fn set_name(&mut self, val: &str) { ... }
fn typ(&self) -> String { ... }
fn set_type(&mut self, val: &str) { ... } }
Expand description

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.

Required methods

Provided methods

List of learned parameters stored as blobs.

List of learned parameters stored as blobs.

Name of the layer instance (optional, can be used internal purposes).

Name of the layer instance (optional, can be used internal purposes).

Type name which was used for creating layer by layer factory (optional).

Type name which was used for creating layer by layer factory (optional).

Implementors