2 // Copyright (c) 2018 Intel Corporation
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
8 // http://www.apache.org/licenses/LICENSE-2.0
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.
17 ///////////////////////////////////////////////////////////////////////////////////////////////////
18 #ifndef AVERAGE_UNPOOLING_H
19 #define AVERAGE_UNPOOLING_H
22 /// @addtogroup c_api C API
24 /// @addtogroup c_topology Network Topology
26 /// @addtogroup c_primitives Primitives
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.
39 /// @brief Pooling kernel size.
41 /// @brief Output size of this primitive.
42 cldnn_tensor output_size;
43 CLDNN_END_PRIMITIVE_DESC(average_unpooling)
45 CLDNN_DECLARE_PRIMITIVE_TYPE_ID(average_unpooling);
54 #endif /* AVERAGE_UNPOOLING_H */