Struct opencv::dnn::LayerParams

source ·
pub struct LayerParams { /* private fields */ }
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.

Implementations§

Trait Implementations§

Wrap the specified raw pointer Read more
Return an the underlying raw pointer while consuming this wrapper. Read more
Return the underlying raw pointer. Read more
Return the underlying mutable raw pointer Read more
If the @p key in the dictionary then returns pointer to its value, else returns NULL.
Sets new @p value for the @p key, or adds new key-value pair into the dictionary.
Sets new @p value for the @p key, or adds new key-value pair into the dictionary.
Sets new @p value for the @p key, or adds new key-value pair into the dictionary.
Sets new @p value for the @p key, or adds new key-value pair into the dictionary.
Erase @p key from the dictionary.
Checks a presence of the @p key in the dictionary.
If the @p key in the dictionary then returns pointer to its value, else returns NULL. Read more
If the @p key in the dictionary then returns its value, else an error will be generated.
Executes the destructor for this type. Read more
Converts to this type from the input type.
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).
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).

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.