ie_deformable_convolution_layer.hpp
1 // Copyright (C) 2019 Intel Corporation
2 // SPDX-License-Identifier: Apache-2.0
3 //
4 
5 #pragma once
6 
7 #include <builders/ie_convolution_layer.hpp>
8 #include <ie_network.hpp>
9 #include <string>
10 
11 namespace InferenceEngine {
12 namespace Builder {
13 
14 /**
15  * @brief The class represents a builder for Deconvolution layer
16  */
17 class INFERENCE_ENGINE_API_CLASS(DeformableConvolutionLayer): public ConvolutionLayer {
18 public:
19  /**
20  * @brief The constructor creates a builder with the name
21  * @param name Layer name
22  */
23  explicit DeformableConvolutionLayer(const std::string& name = "");
24  /**
25  * @brief The constructor creates a builder from generic builder
26  * @param layer pointer to generic builder
27  */
28  explicit DeformableConvolutionLayer(const Layer::Ptr& layer);
29  /**
30  * @brief The constructor creates a builder from generic builder
31  * @param layer constant pointer to generic builder
32  */
33  explicit DeformableConvolutionLayer(const Layer::CPtr& layer);
34  /**
35  * @brief Return deformable_group size
36  * @return Deformable group size
37  */
38  size_t getDeformableGroup() const;
39  /**
40  * @brief Sets deformable group size
41  * @param deformableGroup Deformable group
42  * @return reference to layer builder
43  */
44  Builder::DeformableConvolutionLayer& setDeformableGroup(size_t deformableGroup);
45 };
46 
47 } // namespace Builder
48 } // namespace InferenceEngine
The class represents a builder for ArgMax layer.
Definition: ie_convolution_layer.hpp:18
Definition: ie_argmax_layer.hpp:11
std::shared_ptr< const Layer > CPtr
A shared pointer to the constant Layer builder.
Definition: ie_layer_builder.hpp:44
std::shared_ptr< Layer > Ptr
A shared pointer to the Layer builder.
Definition: ie_layer_builder.hpp:40
The class represents a builder for Deconvolution layer.
Definition: ie_deformable_convolution_layer.hpp:17