clDNN
reorder.h
1 /*
2 // Copyright (c) 2016 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 
18 #ifndef REORDER_H
19 #define REORDER_H
20 
21 #include "cldnn.h"
28 
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
32 
39 cldnn_format_type output_format;
41 cldnn_data_type output_data_type;
43 cldnn_primitive_id mean_subtract;
45 cldnn_float_arr subtract_per_feature;
47 
48 CLDNN_DECLARE_PRIMITIVE_TYPE_ID(reorder);
49 
50 #ifdef __cplusplus
51 }
52 #endif
53 
57 #endif /* REORDER_H */
58 
#define CLDNN_BEGIN_PRIMITIVE_DESC(PType)
Begin primitive description definition.
Definition: cldnn.h:398
const char * cldnn_primitive_id
Unique id of a primitive within a topology.
Definition: cldnn.h:332
Represents reference to an array of floats.
Definition: cldnn.h:308
cldnn_format_type
Represents memory formats (orders). In CNN most of data is describe as 4 dimensional blocks...
Definition: cldnn.h:233
cldnn_data_type
Data type stored in memory.
Definition: cldnn.h:285
#define CLDNN_END_PRIMITIVE_DESC(PType)
Close primitive descriptor definition.
Definition: cldnn.h:409