Trait LayerParamsTraitConst

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

    // Provided methods
    fn blobs(&self) -> Vector<Mat> { ... }
    fn name(&self) -> String { ... }
    fn typ(&self) -> String { ... }
}
Expand description

Constant methods for crate::dnn::LayerParams

Required Methods§

Provided Methods§

Source

fn blobs(&self) -> Vector<Mat>

List of learned parameters stored as blobs.

Source

fn name(&self) -> String

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

Source

fn typ(&self) -> String

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

Implementors§