Publishing R3
[platform/upstream/dldt.git] / inference-engine / thirdparty / clDNN / api / C / average_unpooling.h
1 /*
2 // Copyright (c) 2018 Intel Corporation
3 //
4 // Licensed under the Apache License, Version 2.0 (the "License");
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
7 //
8 //      http://www.apache.org/licenses/LICENSE-2.0
9 //
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an "AS IS" BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
15 */
16
17 ///////////////////////////////////////////////////////////////////////////////////////////////////
18 #ifndef AVERAGE_UNPOOLING_H
19 #define AVERAGE_UNPOOLING_H
20
21 #include "cldnn.h"
22 /// @addtogroup c_api C API
23 /// @{
24 /// @addtogroup c_topology Network Topology
25 /// @{
26 /// @addtogroup c_primitives Primitives
27 /// @{
28
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
32
33 /// @brief Performs "average_unpooling" operation.
34 /// @details Reverse operation of average pooling.
35 /// Each element in every pooling window is filled with output / window size value. In case of window overlap the elements are added.
36 CLDNN_BEGIN_PRIMITIVE_DESC(average_unpooling)
37 /// @brief Defines shift in output buffer.
38 cldnn_tensor stride;
39 /// @brief Pooling kernel size.
40 cldnn_tensor size;
41 /// @brief Output size of this primitive.
42 cldnn_tensor output_size;
43 CLDNN_END_PRIMITIVE_DESC(average_unpooling)
44
45 CLDNN_DECLARE_PRIMITIVE_TYPE_ID(average_unpooling);
46
47 #ifdef __cplusplus
48 }
49 #endif
50
51 /// @}
52 /// @}
53 /// @}
54 #endif /* AVERAGE_UNPOOLING_H */
55