The class represents a builder for Convolution layer. More...
#include <ie_convolution_layer.hpp>
Public Member Functions | |
ConvolutionLayer (const std::string &name="") | |
The constructor creates a builder with the name. More... | |
ConvolutionLayer (const Layer::Ptr &layer) | |
The constructor creates a builder from generic builder. More... | |
ConvolutionLayer (const Layer::CPtr &layer) | |
The constructor creates a builder from generic builder. More... | |
ConvolutionLayer & | setName (const std::string &name) |
Sets the name for the layer. More... | |
const Port & | getInputPort () const |
Returns input port. More... | |
ConvolutionLayer & | setInputPort (const Port &port) |
Sets input port. More... | |
const Port & | getOutputPort () const |
Returns output port. More... | |
ConvolutionLayer & | setOutputPort (const Port &port) |
Sets output port. More... | |
const std::vector< size_t > | getKernel () const |
Returns kernel size. More... | |
ConvolutionLayer & | setKernel (const std::vector< size_t > &kernel) |
Sets kernel size. More... | |
const std::vector< size_t > | getStrides () const |
Returns vector of strides. More... | |
ConvolutionLayer & | setStrides (const std::vector< size_t > &strides) |
Sets strides. More... | |
const std::vector< size_t > | getDilation () const |
Returns dilations. More... | |
ConvolutionLayer & | setDilation (const std::vector< size_t > &dilation) |
Sets dilations. More... | |
const std::vector< size_t > | getPaddingsBegin () const |
Returns begin paddings. More... | |
ConvolutionLayer & | setPaddingsBegin (const std::vector< size_t > &paddings) |
Sets begin paddings. More... | |
const std::vector< size_t > | getPaddingsEnd () const |
Return end paddings. More... | |
ConvolutionLayer & | setPaddingsEnd (const std::vector< size_t > &paddings) |
Sets end paddings. More... | |
size_t | getGroup () const |
Returns group. More... | |
ConvolutionLayer & | setGroup (size_t group) |
Sets group. More... | |
size_t | getOutDepth () const |
Return output depth. More... | |
ConvolutionLayer & | setOutDepth (size_t outDepth) |
Sets output depth. More... | |
![]() | |
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 | |
![]() | |
Layer::Ptr & | getLayer () |
const Layer::CPtr | getLayer () const |
void | checkType (const std::string &type) const |
![]() | |
Layer::CPtr | cLayer |
The class represents a builder for Convolution 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 |
const std::vector<size_t> InferenceEngine::Builder::ConvolutionLayer::getDilation | ( | ) | const |
Returns dilations.
size_t InferenceEngine::Builder::ConvolutionLayer::getGroup | ( | ) | const |
Returns group.
const Port& InferenceEngine::Builder::ConvolutionLayer::getInputPort | ( | ) | const |
Returns input port.
const std::vector<size_t> InferenceEngine::Builder::ConvolutionLayer::getKernel | ( | ) | const |
Returns kernel size.
size_t InferenceEngine::Builder::ConvolutionLayer::getOutDepth | ( | ) | const |
Return output depth.
const Port& InferenceEngine::Builder::ConvolutionLayer::getOutputPort | ( | ) | const |
Returns output port.
const std::vector<size_t> InferenceEngine::Builder::ConvolutionLayer::getPaddingsBegin | ( | ) | const |
Returns begin paddings.
const std::vector<size_t> InferenceEngine::Builder::ConvolutionLayer::getPaddingsEnd | ( | ) | const |
Return end paddings.
const std::vector<size_t> InferenceEngine::Builder::ConvolutionLayer::getStrides | ( | ) | const |
Returns vector of strides.
ConvolutionLayer& InferenceEngine::Builder::ConvolutionLayer::setDilation | ( | const std::vector< size_t > & | dilation | ) |
Sets dilations.
dilation | Vector of dilations |
ConvolutionLayer& InferenceEngine::Builder::ConvolutionLayer::setGroup | ( | size_t | group | ) |
Sets group.
group | Group |
ConvolutionLayer& InferenceEngine::Builder::ConvolutionLayer::setInputPort | ( | const Port & | port | ) |
Sets input port.
port | Input port |
ConvolutionLayer& InferenceEngine::Builder::ConvolutionLayer::setKernel | ( | const std::vector< size_t > & | kernel | ) |
Sets kernel size.
kernel | Kernel size |
ConvolutionLayer& InferenceEngine::Builder::ConvolutionLayer::setName | ( | const std::string & | name | ) |
ConvolutionLayer& InferenceEngine::Builder::ConvolutionLayer::setOutDepth | ( | size_t | outDepth | ) |
Sets output depth.
outDepth | Output depth |
ConvolutionLayer& InferenceEngine::Builder::ConvolutionLayer::setOutputPort | ( | const Port & | port | ) |
Sets output port.
port | Output port |
ConvolutionLayer& InferenceEngine::Builder::ConvolutionLayer::setPaddingsBegin | ( | const std::vector< size_t > & | paddings | ) |
Sets begin paddings.
paddings | Vector of paddings |
ConvolutionLayer& InferenceEngine::Builder::ConvolutionLayer::setPaddingsEnd | ( | const std::vector< size_t > & | paddings | ) |
Sets end paddings.
paddings | Vector of paddings |
ConvolutionLayer& InferenceEngine::Builder::ConvolutionLayer::setStrides | ( | const std::vector< size_t > & | strides | ) |
Sets strides.
strides | vector of strides |