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  * @deprecated Use ngraph API instead.
16  * @brief The class represents a builder for Deconvolution layer
17  */
18 class INFERENCE_ENGINE_NN_BUILDER_API_CLASS(DeformableConvolutionLayer): public ConvolutionLayer {
19 public:
20  /**
21  * @brief The constructor creates a builder with the name
22  * @param name Layer name
23  */
24  explicit DeformableConvolutionLayer(const std::string& name = "");
25  /**
26  * @brief The constructor creates a builder from generic builder
27  * @param layer pointer to generic builder
28  */
29  explicit DeformableConvolutionLayer(const Layer::Ptr& layer);
30  /**
31  * @brief The constructor creates a builder from generic builder
32  * @param layer constant pointer to generic builder
33  */
34  explicit DeformableConvolutionLayer(const Layer::CPtr& layer);
35  /**
36  * @brief Return deformable_group size
37  * @return Deformable group size
38  */
39  size_t getDeformableGroup() const;
40  /**
41  * @brief Sets deformable group size
42  * @param deformableGroup Deformable group
43  * @return reference to layer builder
44  */
45  Builder::DeformableConvolutionLayer& setDeformableGroup(size_t deformableGroup);
46 };
47 
48 } // namespace Builder
49 } // namespace InferenceEngine
Inference Engine API.
Definition: ie_argmax_layer.hpp:11