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