OpenCV
3.3.0
Open Source Computer Vision
|
This class provides all data needed to initialize layer. More...
#include "dnn.hpp"
Public Attributes | |
std::vector< Mat > | blobs |
List of learned parameters stored as blobs. More... | |
String | name |
Name of the layer instance (optional, can be used internal purposes). More... | |
String | type |
Type name which was used for creating layer by layer factory (optional). More... | |
Additional Inherited Members | |
Public Member Functions inherited from cv::dnn::Dict | |
const DictValue & | get (const String &key) const |
If the key in the dictionary then returns its value, else an error will be generated. More... | |
template<typename T > | |
T | get (const String &key) const |
template<typename T > | |
T | get (const String &key, const T &defaultValue) const |
If the key in the dictionary then returns its value, else returns defaultValue . More... | |
bool | has (const String &key) const |
Checks a presence of the key in the dictionary. More... | |
DictValue * | ptr (const String &key) |
If the key in the dictionary then returns pointer to its value, else returns NULL. More... | |
const DictValue * | ptr (const String &key) const |
template<typename T > | |
const T & | set (const String &key, const T &value) |
Sets new value for the key , or adds new key-value pair into the dictionary. More... | |
This class provides all data needed to initialize layer.
It includes dictionary with scalar params (which can be readed by using Dict interface), blob params blobs and optional meta information: name and type of layer instance.
std::vector<Mat> cv::dnn::LayerParams::blobs |
List of learned parameters stored as blobs.
String cv::dnn::LayerParams::name |
Name of the layer instance (optional, can be used internal purposes).
String cv::dnn::LayerParams::type |
Type name which was used for creating layer by layer factory (optional).