Struct opencv::dnn::LayerParams[][src]

pub struct LayerParams { /* fields omitted */ }
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

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.

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.

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.

Executes the destructor for this type. Read more

Performs the conversion.

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).

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

Performs the conversion.

Performs the conversion.

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.