OpenCV453
公開変数類 | 全メンバ一覧
cv::dnn::LayerParams クラス

This class provides all data needed to initialize layer. [詳解]

#include <dnn.hpp>

cv::dnn::Dictを継承しています。

公開変数類

std::vector< Matblobs
 List of learned parameters stored as blobs.
 
String name
 Name of the layer instance (optional, can be used internal purposes).
 
String type
 Type name which was used for creating layer by layer factory (optional).
 

その他の継承メンバ

- 基底クラス cv::dnn::Dict に属する継承公開メンバ関数
bool has (const String &key) const
 Checks a presence of the key in the dictionary.
 
DictValueptr (const String &key)
 If the key in the dictionary then returns pointer to its value, else returns NULL.
 
const DictValueptr (const String &key) const
 
const DictValueget (const String &key) const
 If the key in the dictionary then returns its value, else an error will be generated.
 
template<typename T >
get (const String &key) const
 
template<typename T >
get (const String &key, const T &defaultValue) const
 If the key in the dictionary then returns its value, else returns defaultValue.
 
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.
 
void erase (const String &key)
 Erase key from the dictionary.
 
std::map< String, DictValue >::const_iterator begin () const
 
std::map< String, DictValue >::const_iterator end () const
 

詳解

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.


このクラス詳解は次のファイルから抽出されました: