mxnet
mkldnn_types.h
Go to the documentation of this file.
1 /*******************************************************************************
2 * Copyright 2016-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 #ifndef MKLDNN_TYPES_H
18 #define MKLDNN_TYPES_H
19 
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23 
24 #ifndef DOXYGEN_SHOULD_SKIP_THIS
25 #include <stddef.h>
26 #include <stdint.h>
27 #endif
28 
39 typedef struct {
40  int major;
41  int minor;
42  int patch;
43  const char *hash;
45 
47 typedef enum {
68 
70 typedef enum {
80  mkldnn_s8 = 5,
82  mkldnn_u8 = 6,
84 
86 typedef enum {
92 
143 typedef enum {
254 
255  /* Opaque data types, are not to be used explicitly */
256 
257  /* data */
267 
268  /* weights, 3D */
288 
289  /* weights, 4D */
318 
319  /* weights, 5D */
333 
334  /* weights w/ groups, 4D */
359 
360  /* weights w/ groups, 5D */
405 
406  /* weights w/ groups, 6D */
418 
420 
422 
427 
429 typedef enum {
433 
435 typedef enum {
436  /* TODO: suggest renames */
459 
462 typedef enum {
498 
500 typedef enum {
559 
561 typedef enum {
598 
607 #define TENSOR_MAX_DIMS 12
608 
613 
617 typedef struct {
619  mkldnn_dims_t block_dims;
622  mkldnn_strides_t strides[2];
624  mkldnn_dims_t padding_dims;
627  mkldnn_dims_t offset_padding_to_data;
630  ptrdiff_t offset_padding;
632 
633 typedef enum {
643 
645 typedef struct {
646  mkldnn_wino_memory_format_t wino_format;
647  int r;
648  int alpha;
649  int ic;
650  int oc;
651  int ic_block;
652  int oc_block;
655  float adj_scale;
656  size_t size;
658 
659 typedef enum {
664 
665 /* Maximum number of parts of RNN weights tensor that require separate
666  * computation. */
667 #define MKLDNN_RNN_MAX_N_PARTS 4
668 
670 typedef struct {
671  mkldnn_rnn_packed_memory_format_t format;
672  int n_parts;
673  int n;
675  size_t part_pack_size[MKLDNN_RNN_MAX_N_PARTS];
677  size_t size;
679 
684 typedef void *mkldnn_op_desc_t;
686 typedef const void *const_mkldnn_op_desc_t;
687 
692 typedef struct {
695  mkldnn_primitive_kind_t primitive_kind;
697  int ndims;
713  mkldnn_dims_t dims;
717  mkldnn_memory_format_t format;
718  union {
726  /* ... other descriptions possible */
727  } layout_desc;
729 
733 typedef struct {
736  mkldnn_primitive_kind_t primitive_kind;
761  mkldnn_dims_t strides;
763  mkldnn_dims_t dilates;
767  mkldnn_dims_t padding[2];
769  mkldnn_padding_kind_t padding_kind;
773 
776 
778 typedef struct {
781  mkldnn_primitive_kind_t primitive_kind;
789  int axis;
793 
795 typedef struct {
798  mkldnn_primitive_kind_t primitive_kind;
826  float alpha, beta;
828 
830 typedef struct {
833  mkldnn_primitive_kind_t primitive_kind;
844 
846 typedef struct {
849  mkldnn_primitive_kind_t primitive_kind;
866  mkldnn_dims_t strides;
868  mkldnn_dims_t kernel;
872  mkldnn_dims_t padding[2];
874  mkldnn_padding_kind_t padding_kind;
878 
880 typedef struct {
883  mkldnn_primitive_kind_t primitive_kind;
899  float lrn_alpha;
901  float lrn_beta;
903  float lrn_k;
905 
907 typedef struct {
910  mkldnn_primitive_kind_t primitive_kind;
934  unsigned flags;
936 
938 typedef struct {
941  mkldnn_primitive_kind_t primitive_kind;
965 
967 typedef enum {
971 
972 typedef struct {
981  unsigned int flags;
984  float alpha;
987  float clipping;
989 
991 typedef enum {
992  /* Unidirectional execution of RNN primitive from left to right. */
994  /* Unidirectional execution of RNN primitive from right to left. */
996  /* Bidirectional execution of RNN primitive with concatenation of the
997  * results. */
999  /* Bidirectional execution of RNN primitive with summation of the
1000  * results. */
1004 
1006 typedef struct {
1009  mkldnn_primitive_kind_t primitive_kind;
1016  mkldnn_rnn_direction_t direction;
1046 
1053 typedef enum {
1059 
1062 struct mkldnn_engine;
1065 #if 0
1066 /* FIXME: looks like this never happens */
1068 typedef const struct mkldnn_engine *const_mkldnn_engine_t;
1069 #endif
1070 
1079 
1083 
1087 
1095 struct mkldnn_primitive_desc;
1096 
1099 
1102 
1115 struct mkldnn_primitive_attr;
1116 
1120 
1123 
1143 struct mkldnn_post_ops;
1144 
1147 
1150 
1158 struct mkldnn_primitive;
1163 
1165 typedef struct {
1167  const_mkldnn_primitive_t primitive;
1171 
1204 typedef enum {
1220  /* memory and op descriptor section */
1235  /* (memory) primitive descriptor section */
1246 } mkldnn_query_t;
1247 
1254 typedef enum {
1262 
1265 struct mkldnn_stream;
1269 typedef const struct mkldnn_stream *const_mkldnn_stream_t;
1270 
1275 #ifdef __cplusplus
1276 }
1277 #endif
1278 
1279 
1280 #endif
mkldnn_data_type_t accum_data_type
Definition: mkldnn_types.h:963
Definition: mkldnn_types.h:542
struct mkldnn_post_ops * mkldnn_post_ops_t
A post operation chain handle.
Definition: mkldnn_types.h:1146
mkldnn_padding_kind_t padding_kind
Definition: mkldnn_types.h:874
size_t size
Definition: mkldnn_types.h:656
Definition: mkldnn_types.h:880
Definition: mkldnn_types.h:332
Definition: mkldnn_types.h:337
Definition: mkldnn_types.h:1222
Definition: mkldnn_types.h:374
Definition: mkldnn_types.h:316
Definition: mkldnn_types.h:412
Definition: mkldnn_types.h:486
Definition: mkldnn_types.h:1211
Definition: mkldnn_types.h:415
int alpha
Definition: mkldnn_types.h:648
mkldnn_memory_desc_t diff_bias_desc
Definition: mkldnn_types.h:1040
int minor
Definition: mkldnn_types.h:41
mkldnn_rnn_packed_memory_format_t format
Definition: mkldnn_types.h:671
mkldnn_dims_t dilates
Definition: mkldnn_types.h:763
mkldnn_status_t
Definition: mkldnn_types.h:47
Definition: mkldnn_types.h:733
mkldnn_rnn_direction_t direction
Definition: mkldnn_types.h:1016
Definition: mkldnn_types.h:53
Definition: mkldnn_types.h:279
mkldnn_memory_desc_t dst_layer_desc
Definition: mkldnn_types.h:1028
int ic_block
Definition: mkldnn_types.h:651
Definition: mkldnn_types.h:253
Definition: mkldnn_types.h:171
Definition: mkldnn_types.h:55
Definition: mkldnn_types.h:447
Definition: mkldnn_types.h:662
An opaque structure to describe an engine.
Definition: mkldnn_types.h:453
Definition: mkldnn_types.h:310
Definition: mkldnn_types.h:383
Definition: mkldnn_types.h:145
float alpha
Definition: mkldnn_types.h:984
#define TENSOR_MAX_DIMS
Definition: mkldnn_types.h:607
Definition: mkldnn_types.h:192
Definition: mkldnn_types.h:830
Definition: mkldnn_types.h:416
mkldnn_padding_kind_t padding_kind
Definition: mkldnn_types.h:769
Definition: mkldnn_types.h:417
int oc_block
Definition: mkldnn_types.h:652
Definition: mkldnn_types.h:262
Definition: mkldnn_types.h:938
Definition: mkldnn_types.h:229
An opaque structure for a chain of post operations.
An opaque structure to describe a primitive descriptor.
Definition: mkldnn_types.h:1231
mkldnn_rnn_direction_t
Definition: mkldnn_types.h:991
mkldnn_memory_desc_t diff_data_scaleshift_desc
Definition: mkldnn_types.h:925
Definition: mkldnn_types.h:480
mkldnn_memory_desc_t diff_src_desc
Definition: mkldnn_types.h:949
size_t offset_compensation
Definition: mkldnn_types.h:676
int axis
Definition: mkldnn_types.h:789
struct mkldnn_stream * mkldnn_stream_t
Definition: mkldnn_types.h:1267
Definition: mkldnn_types.h:287
Definition: mkldnn_types.h:263
mkldnn_prop_kind_t prop_kind
Definition: mkldnn_types.h:836
Definition: mkldnn_types.h:408
struct mkldnn_primitive_desc_iterator * mkldnn_primitive_desc_iterator_t
A primitive descriptor iterator handle.
Definition: mkldnn_types.h:1081
Definition: mkldnn_types.h:323
mkldnn_primitive_kind_t primitive_kind
Definition: mkldnn_types.h:781
Definition: mkldnn_types.h:464
Definition: mkldnn_types.h:494
Definition: mkldnn_types.h:421
Definition: mkldnn_types.h:90
Definition: mkldnn_types.h:210
mkldnn_memory_desc_t dst_desc
Definition: mkldnn_types.h:757
mkldnn_memory_desc_t diff_src_desc
Definition: mkldnn_types.h:860
Definition: mkldnn_types.h:637
Definition: mkldnn_types.h:538
mkldnn_memory_desc_t diff_desc
Definition: mkldnn_types.h:840
size_t output_index
Definition: mkldnn_types.h:1169
mkldnn_data_type_t data_type
Definition: mkldnn_types.h:715
mkldnn_rnn_cell_flags_t
Definition: mkldnn_types.h:967
mkldnn_dims_t offset_padding_to_data
Definition: mkldnn_types.h:627
float lrn_beta
Definition: mkldnn_types.h:901
Definition: mkldnn_types.h:76
Definition: mkldnn_types.h:533
int patch
Definition: mkldnn_types.h:42
Definition: mkldnn_types.h:300
Definition: mkldnn_types.h:322
Definition: mkldnn_types.h:1207
void * mkldnn_op_desc_t
Definition: mkldnn_types.h:684
mkldnn_data_type_t accum_data_type
Definition: mkldnn_types.h:771
Definition: mkldnn_types.h:307
mkldnn_prop_kind_t prop_kind
Definition: mkldnn_types.h:887
mkldnn_memory_desc_t diff_dst_desc
Definition: mkldnn_types.h:864
Definition: mkldnn_types.h:969
mkldnn_memory_desc_t data_desc
Definition: mkldnn_types.h:810
float lrn_alpha
Definition: mkldnn_types.h:899
struct mkldnn_primitive * mkldnn_primitive_t
Definition: mkldnn_types.h:1160
Definition: mkldnn_types.h:1237
Definition: mkldnn_types.h:325
ptrdiff_t mkldnn_strides_t[TENSOR_MAX_DIMS]
Definition: mkldnn_types.h:612
Definition: mkldnn_types.h:214
const_mkldnn_primitive_t primitive
Definition: mkldnn_types.h:1167
mkldnn_prop_kind_t prop_kind
Definition: mkldnn_types.h:853
int local_size
Definition: mkldnn_types.h:897
Definition: mkldnn_types.h:336
ptrdiff_t offset_padding
Definition: mkldnn_types.h:630
Definition: mkldnn_types.h:795
Definition: mkldnn_types.h:1233
Definition: mkldnn_types.h:484
float beta
Definition: mkldnn_types.h:826
mkldnn_memory_desc_t src_desc
Definition: mkldnn_types.h:947
Definition: mkldnn_types.h:315
Definition: mkldnn_types.h:1244
mkldnn_alg_kind_t activation_kind
Definition: mkldnn_types.h:979
Definition: mkldnn_types.h:328
Definition: mkldnn_types.h:1006
Definition: mkldnn_types.h:1227
Definition: mkldnn_types.h:466
float clipping
Definition: mkldnn_types.h:987
Definition: mkldnn_types.h:297
Definition: mkldnn_types.h:309
mkldnn_memory_desc_t bias_desc
Definition: mkldnn_types.h:753
Definition: mkldnn_types.h:529
mkldnn_wino_memory_format_t
Definition: mkldnn_types.h:633
Definition: mkldnn_types.h:51
Definition: mkldnn_types.h:544
Definition: mkldnn_types.h:344
Definition: mkldnn_types.h:455
Definition: mkldnn_types.h:411
mkldnn_memory_desc_t weights_iter_desc
Definition: mkldnn_types.h:1024
Definition: mkldnn_types.h:1221
int ic2_block
Definition: mkldnn_types.h:653
Definition: mkldnn_types.h:74
mkldnn_prop_kind_t prop_kind
Definition: mkldnn_types.h:802
const struct mkldnn_primitive_desc_iterator * const_mkldnn_primitive_desc_iterator_t
A constant primitive descriptor iterator handle.
Definition: mkldnn_types.h:1085
Definition: mkldnn_types.h:275
Definition: mkldnn_types.h:260
Definition: mkldnn_types.h:180
Definition: mkldnn_types.h:425
Definition: mkldnn_types.h:692
mkldnn_dims_t kernel
Definition: mkldnn_types.h:868
mkldnn_memory_desc_t data_desc
Definition: mkldnn_types.h:916
mkldnn_convolution_desc_t mkldnn_deconvolution_desc_t
Definition: mkldnn_types.h:775
mkldnn_batch_normalization_flag_t
Definition: mkldnn_types.h:561
Definition: mkldnn_types.h:1229
mkldnn_memory_desc_t diff_data_desc
Definition: mkldnn_types.h:894
mkldnn_alg_kind_t alg_kind
Definition: mkldnn_types.h:856
mkldnn_primitive_kind_t primitive_kind
Definition: mkldnn_types.h:736
Definition: mkldnn_types.h:274
Definition: mkldnn_types.h:264
mkldnn_memory_desc_t dst_desc
Definition: mkldnn_types.h:959
Definition: mkldnn_types.h:189
mkldnn_memory_desc_t weights_layer_desc
Definition: mkldnn_types.h:1022
Definition: mkldnn_types.h:393
mkldnn_memory_desc_t diff_bias_desc
Definition: mkldnn_types.h:755
Definition: mkldnn_types.h:343
unsigned int flags
Definition: mkldnn_types.h:981
Definition: mkldnn_types.h:159
Definition: mkldnn_types.h:313
Definition: mkldnn_types.h:49
mkldnn_memory_desc_t dst_iter_desc
Definition: mkldnn_types.h:1030
Definition: mkldnn_types.h:403
Definition: mkldnn_types.h:367
mkldnn_primitive_kind_t primitive_kind
Definition: mkldnn_types.h:883
Definition: mkldnn_types.h:381
mkldnn_memory_desc_t src_iter_desc
Definition: mkldnn_types.h:1020
Definition: mkldnn_types.h:409
Definition: mkldnn_types.h:451
Definition: mkldnn_types.h:177
Definition: mkldnn_types.h:1228
mkldnn_round_mode_t
Definition: mkldnn_types.h:86
Definition: mkldnn_types.h:482
mkldnn_memory_desc_t data_scaleshift_desc
Definition: mkldnn_types.h:924
Definition: mkldnn_types.h:574
Definition: mkldnn_types.h:314
Definition: mkldnn_types.h:1205
Definition: mkldnn_types.h:395
Definition: mkldnn_types.h:330
mkldnn_memory_desc_t mean_desc
Definition: mkldnn_types.h:930
mkldnn_primitive_kind_t primitive_kind
Definition: mkldnn_types.h:910
Definition: mkldnn_types.h:82
Definition: mkldnn_types.h:407
mkldnn_alg_kind_t alg_kind
Definition: mkldnn_types.h:890
Definition: mkldnn_types.h:535
Definition: mkldnn_types.h:148
mkldnn_memory_desc_t diff_src_desc
Definition: mkldnn_types.h:747
Definition: mkldnn_types.h:1243
Definition: mkldnn_types.h:239
Definition: mkldnn_types.h:557
Definition: mkldnn_types.h:540
Definition: mkldnn_types.h:296
Definition: mkldnn_types.h:548
Definition: mkldnn_types.h:1258
Definition: mkldnn_types.h:1218
Definition: mkldnn_types.h:186
Definition: mkldnn_types.h:517
mkldnn_dims_t padding_dims
Definition: mkldnn_types.h:624
Definition: mkldnn_types.h:513
Definition: mkldnn_types.h:154
float lrn_k
Definition: mkldnn_types.h:903
Definition: mkldnn_types.h:198
mkldnn_memory_format_t
Definition: mkldnn_types.h:143
Definition: mkldnn_types.h:519
mkldnn_prop_kind_t prop_kind
Definition: mkldnn_types.h:945
mkldnn_wino_desc_t wino_desc
Definition: mkldnn_types.h:723
mkldnn_data_type_t accum_data_type
Definition: mkldnn_types.h:876
int n
Definition: mkldnn_types.h:673
Definition: mkldnn_types.h:168
Definition: mkldnn_types.h:670
Definition: mkldnn_types.h:457
Definition: mkldnn_types.h:404
Definition: mkldnn_types.h:587
int group_size
Definition: mkldnn_types.h:791
Definition: mkldnn_types.h:365
mkldnn_memory_desc_t weights_desc
Definition: mkldnn_types.h:749
Definition: mkldnn_types.h:295
mkldnn_rnn_cell_desc_t cell_desc
Definition: mkldnn_types.h:1014
Definition: mkldnn_types.h:382
Definition: mkldnn_types.h:778
Definition: mkldnn_types.h:1001
mkldnn_memory_desc_t data_desc
Definition: mkldnn_types.h:787
mkldnn_rnn_packed_memory_format_t
Definition: mkldnn_types.h:659
Definition: mkldnn_types.h:398
Definition: mkldnn_types.h:339
Definition: mkldnn_types.h:635
int ndims
Definition: mkldnn_types.h:697
mkldnn_primitive_kind_t primitive_kind
Definition: mkldnn_types.h:695
Definition: mkldnn_types.h:358
Definition: mkldnn_types.h:221
const struct mkldnn_primitive_attr * const_mkldnn_primitive_attr_t
A constant primitive descriptor attributes handle.
Definition: mkldnn_types.h:1122
Definition: mkldnn_types.h:438
mkldnn_blocking_desc_t blocking
Definition: mkldnn_types.h:721
Definition: mkldnn_types.h:174
Definition: mkldnn_types.h:232
mkldnn_dims_t dims
Definition: mkldnn_types.h:713
Definition: mkldnn_types.h:496
mkldnn_rnn_packed_desc_t rnn_packed_desc
Definition: mkldnn_types.h:725
mkldnn_dims_t strides
Definition: mkldnn_types.h:761
Definition: mkldnn_types.h:324
Definition: mkldnn_types.h:270
mkldnn_prop_kind_t
Definition: mkldnn_types.h:435
Definition: mkldnn_types.h:1057
mkldnn_memory_desc_t bias_desc
Definition: mkldnn_types.h:1026
Definition: mkldnn_types.h:523
mkldnn_memory_desc_t data_desc
Definition: mkldnn_types.h:838
mkldnn_memory_format_t format
Definition: mkldnn_types.h:717
Definition: mkldnn_types.h:277
mkldnn_stream_kind_t
Kinds of streams.
Definition: mkldnn_types.h:1254
int major
Definition: mkldnn_types.h:40
mkldnn_memory_desc_t src_desc
Definition: mkldnn_types.h:745
Definition: mkldnn_types.h:195
Definition: mkldnn_types.h:1165
Definition: mkldnn_types.h:505
Definition: mkldnn_types.h:525
mkldnn_memory_desc_t diff_data_desc
Definition: mkldnn_types.h:918
Definition: mkldnn_types.h:531
Definition: mkldnn_types.h:503
Definition: mkldnn_types.h:62
const struct mkldnn_primitive * const_mkldnn_primitive_t
Definition: mkldnn_types.h:1162
size_t size
Definition: mkldnn_types.h:677
Definition: mkldnn_types.h:1240
mkldnn_alg_kind_t cell_kind
Definition: mkldnn_types.h:976
Definition: mkldnn_types.h:993
An opaque structure for primitive descriptor attributes.
mkldnn_prop_kind_t prop_kind
Definition: mkldnn_types.h:1012
int oc
Definition: mkldnn_types.h:650
Definition: mkldnn_types.h:266
Definition: mkldnn_types.h:329
float batch_norm_epsilon
Definition: mkldnn_types.h:933
Definition: mkldnn_types.h:1213
Definition: mkldnn_types.h:397
Definition: mkldnn_types.h:476
mkldnn_memory_desc_t diff_data_desc
Definition: mkldnn_types.h:812
Definition: mkldnn_types.h:298
Definition: mkldnn_types.h:546
Definition: mkldnn_types.h:280
Definition: mkldnn_types.h:1002
mkldnn_memory_desc_t diff_weights_layer_desc
Definition: mkldnn_types.h:1036
Definition: mkldnn_types.h:638
mkldnn_wino_memory_format_t wino_format
Definition: mkldnn_types.h:646
Definition: mkldnn_types.h:72
Definition: mkldnn_types.h:353
Definition: mkldnn_types.h:78
Definition: mkldnn_types.h:472
Definition: mkldnn_types.h:305
mkldnn_prop_kind_t prop_kind
Definition: mkldnn_types.h:784
mkldnn_memory_desc_t src_layer_desc
Definition: mkldnn_types.h:1018
Definition: mkldnn_types.h:312
Definition: mkldnn_types.h:258
Definition: mkldnn_types.h:331
#define MKLDNN_RNN_MAX_N_PARTS
Definition: mkldnn_types.h:667
Definition: mkldnn_types.h:321
Definition: mkldnn_types.h:474
Definition: mkldnn_types.h:340
Definition: mkldnn_types.h:596
mkldnn_query_t
Definition: mkldnn_types.h:1204
Definition: mkldnn_types.h:907
Definition: mkldnn_types.h:660
Definition: mkldnn_types.h:354
const struct mkldnn_stream * const_mkldnn_stream_t
Definition: mkldnn_types.h:1269
Definition: mkldnn_types.h:265
Definition: mkldnn_types.h:276
Definition: mkldnn_types.h:478
Definition: mkldnn_types.h:342
Definition: mkldnn_types.h:392
mkldnn_primitive_kind_t primitive_kind
Definition: mkldnn_types.h:833
Definition: mkldnn_types.h:282
unsigned flags
Definition: mkldnn_types.h:934
Definition: mkldnn_types.h:281
Definition: mkldnn_types.h:345
Definition: mkldnn_types.h:507
Definition: mkldnn_types.h:271
Definition: mkldnn_types.h:399
Definition: mkldnn_types.h:183
Definition: mkldnn_types.h:1214
Definition: mkldnn_types.h:335
Definition: mkldnn_types.h:492
Definition: mkldnn_types.h:501
Definition: mkldnn_types.h:846
mkldnn_dims_t strides
Definition: mkldnn_types.h:866
Definition: mkldnn_types.h:1225
Definition: mkldnn_types.h:347
int softmax_axis
Definition: mkldnn_types.h:842
mkldnn_memory_desc_t diff_dst_iter_desc
Definition: mkldnn_types.h:1044
Definition: mkldnn_types.h:80
Definition: mkldnn_types.h:431
mkldnn_memory_desc_t variance_desc
Definition: mkldnn_types.h:931
Definition: mkldnn_types.h:1239
mkldnn_primitive_kind_t
Definition: mkldnn_types.h:462
Definition: mkldnn_types.h:511
Definition: mkldnn_types.h:1210
Definition: mkldnn_types.h:661
struct mkldnn_engine * mkldnn_engine_t
An engine handle.
Definition: mkldnn_types.h:1064
mkldnn_memory_desc_t weights_desc
Definition: mkldnn_types.h:951
Definition: mkldnn_types.h:1256
Definition: mkldnn_types.h:468
Definition: mkldnn_types.h:645
Definition: mkldnn_types.h:311
Definition: mkldnn_types.h:261
Definition: mkldnn_types.h:537
const char * hash
Definition: mkldnn_types.h:43
Definition: mkldnn_types.h:972
Definition: mkldnn_types.h:445
Definition: mkldnn_types.h:225
Definition: mkldnn_types.h:204
Definition: mkldnn_types.h:639
Definition: mkldnn_types.h:509
Definition: mkldnn_types.h:521
Definition: mkldnn_types.h:369
mkldnn_memory_desc_t diff_dst_desc
Definition: mkldnn_types.h:759
Definition: mkldnn_types.h:299
Definition: mkldnn_types.h:218
Definition: mkldnn_types.h:1236
int ic
Definition: mkldnn_types.h:649
Definition: mkldnn_types.h:389
Definition: mkldnn_types.h:60
Definition: mkldnn_types.h:515
Definition: mkldnn_types.h:388
mkldnn_memory_desc_t diff_dst_desc
Definition: mkldnn_types.h:961
Definition: mkldnn_types.h:348
Definition: mkldnn_types.h:346
Definition: mkldnn_types.h:156
float adj_scale
Definition: mkldnn_types.h:655
Definition: mkldnn_types.h:64
Definition: mkldnn_types.h:1223
const struct mkldnn_post_ops * const_mkldnn_post_ops_t
A constant post operation chain handle.
Definition: mkldnn_types.h:1149
Definition: mkldnn_types.h:490
Definition: mkldnn_types.h:998
mkldnn_padding_kind_t
Definition: mkldnn_types.h:429
mkldnn_memory_desc_t dst_desc
Definition: mkldnn_types.h:862
Definition: mkldnn_types.h:1260
Definition: mkldnn_types.h:394
Definition: mkldnn_types.h:273
mkldnn_memory_desc_t diff_src_iter_desc
Definition: mkldnn_types.h:1034
Definition: mkldnn_types.h:246
Definition: mkldnn_types.h:338
const struct mkldnn_primitive_desc * const_mkldnn_primitive_desc_t
A constant primitive descriptor handle.
Definition: mkldnn_types.h:1101
Definition: mkldnn_types.h:1226
Definition: mkldnn_types.h:441
Definition: mkldnn_types.h:162
Definition: mkldnn_types.h:57
Definition: mkldnn_types.h:39
Definition: mkldnn_types.h:152
mkldnn_data_type_t
Definition: mkldnn_types.h:70
Definition: mkldnn_types.h:1224
mkldnn_primitive_kind_t primitive_kind
Definition: mkldnn_types.h:1009
mkldnn_memory_desc_t src_desc
Definition: mkldnn_types.h:858
mkldnn_prop_kind_t prop_kind
Definition: mkldnn_types.h:914
Definition: mkldnn_types.h:326
mkldnn_primitive_kind_t primitive_kind
Definition: mkldnn_types.h:798
mkldnn_alg_kind_t alg_kind
Definition: mkldnn_types.h:808
Definition: mkldnn_types.h:317
mkldnn_memory_desc_t diff_src_layer_desc
Definition: mkldnn_types.h:1032
Definition: mkldnn_types.h:527
mkldnn_memory_desc_t diff_weights_desc
Definition: mkldnn_types.h:953
Definition: mkldnn_types.h:995
mkldnn_prop_kind_t prop_kind
Definition: mkldnn_types.h:740
mkldnn_engine_kind_t
Kinds of engines.
Definition: mkldnn_types.h:1053
Definition: mkldnn_types.h:968
Definition: mkldnn_types.h:66
Definition: mkldnn_types.h:414
Definition: mkldnn_types.h:366
Definition: mkldnn_types.h:419
Definition: mkldnn_types.h:617
Definition: mkldnn_types.h:88
Definition: mkldnn_types.h:413
const void * const_mkldnn_op_desc_t
Definition: mkldnn_types.h:686
Definition: mkldnn_types.h:272
Definition: mkldnn_types.h:410
int r
Definition: mkldnn_types.h:647
Definition: mkldnn_types.h:201
Definition: mkldnn_types.h:470
Definition: mkldnn_types.h:390
Definition: mkldnn_types.h:380
Definition: mkldnn_types.h:320
Definition: mkldnn_types.h:1055
Definition: mkldnn_types.h:341
Definition: mkldnn_types.h:391
int oc2_block
Definition: mkldnn_types.h:654
Definition: mkldnn_types.h:368
mkldnn_alg_kind_t
Definition: mkldnn_types.h:500
int mkldnn_dims_t[TENSOR_MAX_DIMS]
Definition: mkldnn_types.h:610
Definition: mkldnn_types.h:1232
Definition: mkldnn_types.h:375
mkldnn_memory_desc_t bias_desc
Definition: mkldnn_types.h:955
Definition: mkldnn_types.h:488
Definition: mkldnn_types.h:1241
Definition: mkldnn_types.h:1238
Definition: mkldnn_types.h:396
mkldnn_memory_desc_t data_desc
Definition: mkldnn_types.h:892
Definition: mkldnn_types.h:207
Definition: mkldnn_types.h:308
Definition: mkldnn_types.h:449
Definition: mkldnn_types.h:227
Definition: mkldnn_types.h:1230
struct mkldnn_primitive_desc * mkldnn_primitive_desc_t
A primitive descriptor handle.
Definition: mkldnn_types.h:1098
Definition: mkldnn_types.h:1245
mkldnn_memory_desc_t diff_weights_desc
Definition: mkldnn_types.h:751
Definition: mkldnn_types.h:269
Definition: mkldnn_types.h:278
mkldnn_alg_kind_t alg_kind
Definition: mkldnn_types.h:743
Definition: mkldnn_types.h:327
Definition: mkldnn_types.h:294
int n_parts
Definition: mkldnn_types.h:672
Definition: mkldnn_types.h:1242
mkldnn_memory_desc_t diff_dst_layer_desc
Definition: mkldnn_types.h:1042
Definition: mkldnn_types.h:165
mkldnn_primitive_kind_t primitive_kind
Definition: mkldnn_types.h:849
mkldnn_memory_desc_t diff_weights_iter_desc
Definition: mkldnn_types.h:1038
mkldnn_primitive_kind_t primitive_kind
Definition: mkldnn_types.h:941
Definition: mkldnn_types.h:1208
Definition: mkldnn_types.h:259
mkldnn_memory_desc_t diff_bias_desc
Definition: mkldnn_types.h:957
mkldnn_dims_t block_dims
Definition: mkldnn_types.h:619
Definition: mkldnn_types.h:306
struct mkldnn_primitive_attr * mkldnn_primitive_attr_t
A primitive descriptor attributes handle that controls primitive behavior.
Definition: mkldnn_types.h:1119
An opaque structure to describe a primitive descriptor iterator.
Definition: mkldnn_types.h:641