pub trait LayerParamsTrait: DictTrait + LayerParamsTraitConst {
    // Required method
    fn as_raw_mut_LayerParams(&mut self) -> *mut c_void;

    // Provided methods
    fn set_blobs(&mut self, val: Vector<Mat>) { ... }
    fn set_name(&mut self, val: &str) { ... }
    fn set_type(&mut self, val: &str) { ... }
}
Expand description

Mutable methods for crate::dnn::LayerParams

Required Methods§

Provided Methods§

source

fn set_blobs(&mut self, val: Vector<Mat>)

List of learned parameters stored as blobs.

source

fn set_name(&mut self, val: &str)

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

source

fn set_type(&mut self, val: &str)

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

Implementors§