Intel(R) Math Kernel Library for Deep Neural Networks (Intel(R) MKL-DNN)
0.21.0
Performance library for Deep Learning
|
Memory descriptor. More...
#include <mkldnn_types.h>
Public Attributes | |
mkldnn_primitive_kind_t | primitive_kind |
The kind of primitive. More... | |
int | ndims |
Number of dimensions. More... | |
mkldnn_dims_t | dims |
Dimensions in the following order: More... | |
mkldnn_data_type_t | data_type |
Data type of the tensor elements. More... | |
mkldnn_memory_format_t | format |
Memory format. More... | |
union { | |
mkldnn_blocking_desc_t blocking | |
Description of the data layout for memory formats that use blocking. More... | |
mkldnn_wino_desc_t wino_desc | |
Tensor of weights for integer 8bit winograd convolution. More... | |
mkldnn_rnn_packed_desc_t rnn_packed_desc | |
Tensor of packed weights for RNN. More... | |
} | layout_desc |
Memory descriptor.
The description is based on a number of dimensions, dimensions themselves, plus information about elements type and memory format. Additionally, contains format-specific descriptions of the data layout.
mkldnn_primitive_kind_t mkldnn_memory_desc_t::primitive_kind |
The kind of primitive.
Used for self-identifying the primitive descriptor. Must be mkldnn_memory.
int mkldnn_memory_desc_t::ndims |
Number of dimensions.
mkldnn_dims_t mkldnn_memory_desc_t::dims |
Dimensions in the following order:
{N, C, [[D,] H,] W}
){[G,] O, I, [[D,] H,] W}
){T, N, C}
) or layers, directions, states, mini-batch, channels ({L, D, S, N, C}
){L, D, I, G, O}
).{N, C, H, W}
. mkldnn_data_type_t mkldnn_memory_desc_t::data_type |
Data type of the tensor elements.
mkldnn_memory_format_t mkldnn_memory_desc_t::format |
Memory format.
mkldnn_blocking_desc_t mkldnn_memory_desc_t::blocking |
Description of the data layout for memory formats that use blocking.
mkldnn_wino_desc_t mkldnn_memory_desc_t::wino_desc |
Tensor of weights for integer 8bit winograd convolution.
mkldnn_rnn_packed_desc_t mkldnn_memory_desc_t::rnn_packed_desc |
Tensor of packed weights for RNN.
union { ... } mkldnn_memory_desc_t::layout_desc |