2 // Copyright (c) 2017 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 ///////////////////////////////////////////////////////////////////////////////////////////////////
23 /// @addtogroup c_api C API
25 /// @addtogroup c_topology Network Topology
27 /// @addtogroup c_primitives Primitives
35 CLDNN_BEGIN_PRIMITIVE_DESC(roi_pooling)
36 /// @brief Pooling method. See #cldnn_pooling_mode.
38 /// @brief True, if pooling is position sensitive (PSROIPoolng)
39 bool position_sensitive;
40 /// @brief Output width.
42 /// @brief Output height.
44 /// @brief Count of sub bins in x spatial dimension
46 /// @brief Count of sub bins in y spatial dimension
48 /// @brief Output features count (applied for position sensitive case only)
50 /// @brief Ratio of the coordinates used in RoIs to the width (and height) of the input data.
52 CLDNN_END_PRIMITIVE_DESC(roi_pooling)
54 CLDNN_DECLARE_PRIMITIVE_TYPE_ID(roi_pooling);
63 #endif /* ROI_POOLING_H */