Public Member Functions
InferenceEngine::Builder::MVNLayer Class Reference

The class represents a builder for MVN layer. More...

#include <ie_mvn_layer.hpp>

Inheritance diagram for InferenceEngine::Builder::MVNLayer:
Inheritance graph
[legend]
Collaboration diagram for InferenceEngine::Builder::MVNLayer:
Collaboration graph
[legend]

Public Member Functions

 MVNLayer (const std::string &name="")
 The constructor creates a builder with the name. More...
 
 MVNLayer (const Layer::Ptr &layer)
 The constructor creates a builder from generic builder. More...
 
 MVNLayer (const Layer::CPtr &layer)
 The constructor creates a builder from generic builder. More...
 
MVNLayersetName (const std::string &name)
 Sets the name for the layer. More...
 
const PortgetPort () const
 Returns port with shapes for the layer. More...
 
MVNLayersetPort (const Port &port)
 Sets port shapes for the layer. More...
 
bool getAcrossChannels () const
 Returns across channels value. More...
 
MVNLayersetAcrossChannels (bool flag)
 Sets across channels. More...
 
bool getNormalize () const
 Returns normalize variance. More...
 
MVNLayersetNormalize (bool flag)
 Sets normalize variance. More...
 
float getEpsilon () const
 Return epsilon. More...
 
MVNLayersetEpsilon (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...
 
LayerDecoratoroperator= (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::PtrgetLayer ()
 
const Layer::CPtr getLayer () const
 
void checkType (const std::string &type) const
 
- Protected Attributes inherited from InferenceEngine::Builder::LayerDecorator
Layer::CPtr cLayer
 

Detailed Description

The class represents a builder for MVN layer.

Deprecated:
Use ngraph API instead.

Constructor & Destructor Documentation

§ MVNLayer() [1/3]

InferenceEngine::Builder::MVNLayer::MVNLayer ( const std::string &  name = "")
explicit

The constructor creates a builder with the name.

Parameters
nameLayer name

§ MVNLayer() [2/3]

InferenceEngine::Builder::MVNLayer::MVNLayer ( const Layer::Ptr layer)
explicit

The constructor creates a builder from generic builder.

Parameters
layerpointer to generic builder

§ MVNLayer() [3/3]

InferenceEngine::Builder::MVNLayer::MVNLayer ( const Layer::CPtr layer)
explicit

The constructor creates a builder from generic builder.

Parameters
layerconstant pointer to generic builder

Member Function Documentation

§ getAcrossChannels()

bool InferenceEngine::Builder::MVNLayer::getAcrossChannels ( ) const

Returns across channels value.

Returns
true if mean values are shared across channels

§ getEpsilon()

float InferenceEngine::Builder::MVNLayer::getEpsilon ( ) const

Return epsilon.

Returns
Epsilon

§ getNormalize()

bool InferenceEngine::Builder::MVNLayer::getNormalize ( ) const

Returns normalize variance.

Returns
true if variance normalization is performed

§ getPort()

const Port& InferenceEngine::Builder::MVNLayer::getPort ( ) const

Returns port with shapes for the layer.

Returns
Port with shapes

§ setAcrossChannels()

MVNLayer& InferenceEngine::Builder::MVNLayer::setAcrossChannels ( bool  flag)

Sets across channels.

Parameters
flagtrue if mean values are shared across channels
Returns
reference to layer builder

§ setEpsilon()

MVNLayer& InferenceEngine::Builder::MVNLayer::setEpsilon ( float  eps)

Sets epsilon.

Parameters
epsEpsilon
Returns
reference to layer builder

§ setName()

MVNLayer& InferenceEngine::Builder::MVNLayer::setName ( const std::string &  name)

Sets the name for the layer.

Parameters
nameLayer name
Returns
reference to layer builder

§ setNormalize()

MVNLayer& InferenceEngine::Builder::MVNLayer::setNormalize ( bool  flag)

Sets normalize variance.

Parameters
flagtrue if variance normalization is performed
Returns
reference to layer builder

§ setPort()

MVNLayer& InferenceEngine::Builder::MVNLayer::setPort ( const Port port)

Sets port shapes for the layer.

Parameters
portPort with shapes
Returns
reference to layer builder

The documentation for this class was generated from the following file: