Layer 工廠允許建立已註冊層的例項。 更多...
#include <opencv2/dnn/layer.hpp>
◆ 建構函式
◆ createLayerInstance()
建立已註冊層的例項。
- 引數
-
| type | 正在建立的層的型別名稱。 |
| params | 將用於層初始化的引數。 |
- 注意
- 執行緒安全。
◆ isLayerRegistered()
| static bool cv::dnn::LayerFactory::isLayerRegistered |
( |
const std::string & | type | ) |
|
|
static |
◆ registerLayer()
| static void cv::dnn::LayerFactory::registerLayer |
( |
const String & | type, |
|
|
建構函式 | constructor ) |
|
static |
使用型別名稱 type 和指定的 constructor 註冊層類。執行緒安全。
◆ unregisterLayer()
| static void cv::dnn::LayerFactory::unregisterLayer |
( |
const String & | type | ) |
|
|
static |
此類文件由以下檔案生成