Class cv::dnn::LayerParams#
This class provides all data needed to initialize layer. View details
#include <opencv2/dnn/dnn.hpp>Collaboration diagram for cv::dnn::LayerParams:
Public Member Functions#
Public Member Functions inherited from cv::dnn::Dict
Return |
Name |
Description |
|---|---|---|
|
||
|
||
|
Erase key from the dictionary. |
|
|
If the key in the dictionary then returns its value, else an error will be generated. |
|
|
||
|
If the key in the dictionary then returns its value, else returns defaultValue. |
|
|
If the key in the dictionary then returns its value, else returns empty vector. |
|
|
Checks a presence of the key in the dictionary. |
|
If the key in the dictionary then returns pointer to its value, else returns NULL. |
||
|
||
|
Sets new value for the key, or adds new key-value pair into the dictionary. |
Additional Inherited Members#
Friends inherited from cv::dnn::Dict
Return |
Name |
Description |
|---|---|---|
|
Detailed 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.
Member Data Documentation#
blobs#
std::vector< Mat > cv::dnn::LayerParams::blobs
List of learned parameters stored as blobs.
name#
String cv::dnn::LayerParams::name
Name of the layer instance (optional, can be used internal purposes).
type#
String cv::dnn::LayerParams::type
Type name which was used for creating layer by layer factory (optional).
Source file#
The documentation for this class was generated from the following file:
opencv2/dnn/dnn.hpp