pub trait LayerParamsTraitConst: DictTraitConst {
    fn as_raw_LayerParams(&self) -> *const c_void;

    fn blobs(&self) -> Vector<Mat> { ... }
    fn name(&self) -> String { ... }
    fn typ(&self) -> String { ... }
}
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.

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

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

Implementors§