Publishing 2019 R2 content (#223)
[platform/upstream/dldt.git] / inference-engine / thirdparty / clDNN / api / C / shuffle_channels.h
1 /*
2 // Copyright (c) 2019 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 #pragma once
19 #include "cldnn.h"
20
21 /// @addtogroup c_api C API
22 /// @{
23 /// @addtogroup c_topology Network Topology
24 /// @{
25 /// @addtogroup c_primitives Primitives
26 /// @{
27
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31
32 CLDNN_BEGIN_PRIMITIVE_DESC(shuffle_channels)
33 /// @brief The number of groups to split the channel dimension. This number must evenly divide the channel dimension size.
34 int32_t group;
35 /// @brief The index of the channel dimension (default is 1).
36 int32_t axis;
37 CLDNN_END_PRIMITIVE_DESC(shuffle_channels)
38
39 CLDNN_DECLARE_PRIMITIVE_TYPE_ID(shuffle_channels);
40
41 #ifdef __cplusplus
42 }
43 #endif
44
45 /// @}
46 /// @}
47 /// @}
48