#include "all_layers.hpp"
|
| | Layer () |
| |
| | Layer (const LayerParams ¶ms) |
| | Initializes only name, type and blobs fields. More...
|
| |
| virtual | ~Layer () |
| |
| virtual void | allocate (const std::vector< Blob * > &input, std::vector< Blob > &output)=0 |
| | Allocates internal buffers and output blobs with respect to the shape of inputs. More...
|
| |
| std::vector< Blob > | allocate (const std::vector< Blob > &inputs) |
| | This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
|
| |
| void | allocate (const std::vector< Blob > &inputs, std::vector< Blob > &outputs) |
| | This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
|
| |
| void | forward (const std::vector< Blob > &inputs, std::vector< Blob > &outputs) |
| | This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
|
| |
| virtual void | forward (std::vector< Blob * > &input, std::vector< Blob > &output)=0 |
| | Given the input blobs, computes the output blobs. More...
|
| |
| virtual int | inputNameToIndex (String inputName) |
| | Returns index of input blob into the input array. More...
|
| |
| virtual int | outputNameToIndex (String outputName) |
| | Returns index of output blob in output array. More...
|
| |
| void | run (const std::vector< Blob > &inputs, std::vector< Blob > &outputs) |
| | Allocates layer and computes output. More...
|
| |
| void | setParamsFrom (const LayerParams ¶ms) |
| | Initializes only name, type and blobs fields. More...
|
| |
◆ Type
| Enumerator |
|---|
| CHANNEL_NRM | |
| SPATIAL_NRM | |
◆ create()
| static Ptr<LRNLayer> cv::dnn::LRNLayer::create |
( |
int |
type = LRNLayer::CHANNEL_NRM, |
|
|
int |
size = 5, |
|
|
double |
alpha = 1, |
|
|
double |
beta = 0.75, |
|
|
double |
bias = 1, |
|
|
bool |
normBySize = true |
|
) |
| |
|
static |
◆ alpha
| double cv::dnn::LRNLayer::alpha |
◆ beta
| double cv::dnn::LRNLayer::beta |
◆ bias
| double cv::dnn::LRNLayer::bias |
◆ normBySize
| bool cv::dnn::LRNLayer::normBySize |
◆ size
| int cv::dnn::LRNLayer::size |
◆ type
| int cv::dnn::LRNLayer::type |
The documentation for this class was generated from the following file:
- /opt/build/opencv-3.2.0+dfsg/contrib/modules/dnn/include/opencv2/dnn/all_layers.hpp