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

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

#include <ie_split_layer.hpp>

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

Public Member Functions

 SplitLayer (const std::string &name="")
 The constructor creates a builder with the name. More...
 
 SplitLayer (const Layer::Ptr &layer)
 The constructor creates a builder from generic builder. More...
 
 SplitLayer (const Layer::CPtr &layer)
 The constructor creates a builder from generic builder. More...
 
SplitLayersetName (const std::string &name)
 Sets the name for the layer. More...
 
const std::vector< Port > & getOutputPorts () const
 Returns output ports. More...
 
SplitLayersetOutputPorts (const std::vector< Port > &ports)
 Sets output ports. More...
 
const PortgetInputPort () const
 Returns input port. More...
 
SplitLayersetInputPort (const Port &port)
 Sets input port. More...
 
size_t getAxis () const
 Returns axis. More...
 
SplitLayersetAxis (size_t axis)
 Sets axis. 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 Split layer.

Deprecated:
Use ngraph API instead.

Constructor & Destructor Documentation

§ SplitLayer() [1/3]

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

The constructor creates a builder with the name.

Parameters
nameLayer name

§ SplitLayer() [2/3]

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

The constructor creates a builder from generic builder.

Parameters
layerpointer to generic builder

§ SplitLayer() [3/3]

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

The constructor creates a builder from generic builder.

Parameters
layerconstant pointer to generic builder

Member Function Documentation

§ getAxis()

size_t InferenceEngine::Builder::SplitLayer::getAxis ( ) const

Returns axis.

Returns
Axis

§ getInputPort()

const Port& InferenceEngine::Builder::SplitLayer::getInputPort ( ) const

Returns input port.

Returns
Input port

§ getOutputPorts()

const std::vector<Port>& InferenceEngine::Builder::SplitLayer::getOutputPorts ( ) const

Returns output ports.

Returns
Vector of output ports

§ setAxis()

SplitLayer& InferenceEngine::Builder::SplitLayer::setAxis ( size_t  axis)

Sets axis.

Parameters
axisAxis
Returns
reference to layer builder

§ setInputPort()

SplitLayer& InferenceEngine::Builder::SplitLayer::setInputPort ( const Port port)

Sets input port.

Parameters
portInput port
Returns
reference to layer builder

§ setName()

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

Sets the name for the layer.

Parameters
nameLayer name
Returns
reference to layer builder

§ setOutputPorts()

SplitLayer& InferenceEngine::Builder::SplitLayer::setOutputPorts ( const std::vector< Port > &  ports)

Sets output ports.

Parameters
portsVector of output ports
Returns
reference to layer builder

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