The class represents a builder for Normalize layer. More...
#include <ie_normalize_layer.hpp>
Public Member Functions | |
NormalizeLayer (const std::string &name="") | |
The constructor creates a builder with the name. More... |
|
NormalizeLayer (const Layer::Ptr &layer) | |
The constructor creates a builder from generic builder. More... |
|
NormalizeLayer (const Layer::CPtr &layer) | |
The constructor creates a builder from generic builder. More... |
|
NormalizeLayer & | setName (const std::string &name) |
Sets the name for the layer. More... |
|
const Port & | getPort () const |
Returns port with shapes for the layer. More... |
|
NormalizeLayer & | setPort (const Port &port) |
Sets port shapes for the layer. More... |
|
bool | getChannelShared () const |
Returns channel shared flag. More... |
|
NormalizeLayer & | setChannelShared (bool acrossMap) |
Sets channel shared flag. More... |
|
bool | getAcrossMaps () const |
Returns across maps. More... |
|
NormalizeLayer & | setAcrossMaps (bool acrossMap) |
Sets across map. More... |
|
float | getEpsilon () const |
Returns epsilon. More... |
|
NormalizeLayer & | setEpsilon (float eps) |
Sets epsilon. More... |
|
Public Member Functions inherited from InferenceEngine::Builder::LayerDecorator | |
LayerDecorator (const std::string &type, const std::string &name) | |
The constructor creates layer builders with layer type and layer name. More... |
|
LayerDecorator (const Layer::Ptr &layer) | |
The constructor creates layer builders from reference to generic layer builder. More... |
|
LayerDecorator (const Layer::CPtr &layer) | |
The constructor creates layer builders from reference to generic layer builder. More... |
|
LayerDecorator (const LayerDecorator &rval) | |
The copy constructor. More... |
|
LayerDecorator & | operator= (const LayerDecorator &rval) |
Copy operator for LayerDecorator. More... |
|
virtual | ~LayerDecorator ()=default |
Virtual destructor. |
|
virtual | operator Layer () const |
The operator creates generic builder. More... |
|
virtual | operator Layer::Ptr () |
The operator creates generic builder. More... |
|
virtual | operator Layer::CPtr () const |
The operator creates generic builder. More... |
|
const std::string & | getType () const |
Returns layer type. More... |
|
const std::string & | getName () const |
Returns layer name. More... |
|
Additional Inherited Members | |
Protected Member Functions inherited from InferenceEngine::Builder::LayerDecorator | |
Layer::Ptr & | getLayer () |
const Layer::CPtr | getLayer () const |
void | checkType (const std::string &type) const |
Protected Attributes inherited from InferenceEngine::Builder::LayerDecorator | |
Layer::CPtr | cLayer |
The class represents a builder for Normalize layer.
|
explicit |
The constructor creates a builder with the name.
name | Layer name |
|
explicit |
The constructor creates a builder from generic builder.
layer | pointer to generic builder |
|
explicit |
The constructor creates a builder from generic builder.
layer | constant pointer to generic builder |
bool InferenceEngine::Builder::NormalizeLayer::getAcrossMaps | ( | ) | const |
Returns across maps.
bool InferenceEngine::Builder::NormalizeLayer::getChannelShared | ( | ) | const |
Returns channel shared flag.
float InferenceEngine::Builder::NormalizeLayer::getEpsilon | ( | ) | const |
Returns epsilon.
const Port& InferenceEngine::Builder::NormalizeLayer::getPort | ( | ) | const |
Returns port with shapes for the layer.
NormalizeLayer& InferenceEngine::Builder::NormalizeLayer::setAcrossMaps | ( | bool | acrossMap | ) |
Sets across map.
acrossMap | true if normalization is shared across channels |
NormalizeLayer& InferenceEngine::Builder::NormalizeLayer::setChannelShared | ( | bool | acrossMap | ) |
Sets channel shared flag.
acrossMap | true if scale parameters are shared across channels |
NormalizeLayer& InferenceEngine::Builder::NormalizeLayer::setEpsilon | ( | float | eps | ) |
Sets epsilon.
eps | Epsilon |
NormalizeLayer& InferenceEngine::Builder::NormalizeLayer::setName | ( | const std::string & | name | ) |
NormalizeLayer& InferenceEngine::Builder::NormalizeLayer::setPort | ( | const Port & | port | ) |