OpenCV  3.2.0
Open Source Computer Vision
Public Types | Static Public Member Functions | Public Attributes | List of all members

#include "all_layers.hpp"

Inheritance diagram for cv::dnn::LRNLayer:

Public Types

enum  Type {

Static Public Member Functions

static Ptr< LRNLayercreate (int type=LRNLayer::CHANNEL_NRM, int size=5, double alpha=1, double beta=0.75, double bias=1, bool normBySize=true)

Public Attributes

double alpha
double beta
double bias
bool normBySize
int size
int type
- Public Attributes inherited from cv::dnn::Layer
std::vector< Blobblobs
 List of learned parameters must be stored here to allow read them by using Net::getParam(). More...
String name
 Name of the layer instance, can be used for logging or other internal purposes. More...
String type
 Type name which was used for creating layer by layer factory. More...

Additional Inherited Members

- Public Member Functions inherited from cv::dnn::Layer
 Layer ()
 Layer (const LayerParams &params)
 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...
void allocate (const std::vector< Blob > &inputs, std::vector< Blob > &outputs)
std::vector< Bloballocate (const std::vector< Blob > &inputs)
virtual void forward (std::vector< Blob *> &input, std::vector< Blob > &output)=0
 Given the input blobs, computes the output blobs. More...
void forward (const std::vector< Blob > &inputs, std::vector< Blob > &outputs)
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 &params)
 Initializes only name, type and blobs fields. More...

Member Enumeration Documentation

§ Type


Member Function Documentation

§ 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 

Member Data Documentation

§ 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: