Intel(R) Math Kernel Library for Deep Neural Networks (Intel(R) MKL-DNN)
0.21.0
Performance library for Deep Learning
|
A descriptor of a pooling operation. More...
#include <mkldnn_types.h>
Public Attributes | |
mkldnn_primitive_kind_t | primitive_kind |
The kind of primitive. More... | |
mkldnn_prop_kind_t | prop_kind |
The kind of propagation. More... | |
mkldnn_alg_kind_t | alg_kind |
The kind of pooling algorithm. More... | |
mkldnn_memory_desc_t | src_desc |
Source memory descriptor. More... | |
mkldnn_memory_desc_t | diff_src_desc |
Source gradient memory descriptor. More... | |
mkldnn_memory_desc_t | dst_desc |
Destination memory descriptor. More... | |
mkldnn_memory_desc_t | diff_dst_desc |
Destination gradient memory descriptor. More... | |
mkldnn_dims_t | strides |
Pooling kernel strides for spatial dimensions. More... | |
mkldnn_dims_t | kernel |
Pooling kernel spatial dimensions. More... | |
mkldnn_dims_t | padding [2] |
Padding in each spatial dimension. More... | |
mkldnn_padding_kind_t | padding_kind |
The kind of padding to use. More... | |
mkldnn_data_type_t | accum_data_type |
The accumulator data type. More... | |
A descriptor of a pooling operation.
mkldnn_primitive_kind_t mkldnn_pooling_desc_t::primitive_kind |
The kind of primitive.
Used for self-identifying the primitive descriptor. Must be mkldnn_pooling.
mkldnn_prop_kind_t mkldnn_pooling_desc_t::prop_kind |
The kind of propagation.
Possible values: mkldnn_forward_training, mkldnn_forward_inference, mkldnn_backward, and mkldnn_backward_data.
mkldnn_alg_kind_t mkldnn_pooling_desc_t::alg_kind |
The kind of pooling algorithm.
Possible values: mkldnn_pooling_max and mkldnn_pooling_avg.
mkldnn_memory_desc_t mkldnn_pooling_desc_t::src_desc |
Source memory descriptor.
mkldnn_memory_desc_t mkldnn_pooling_desc_t::diff_src_desc |
Source gradient memory descriptor.
mkldnn_memory_desc_t mkldnn_pooling_desc_t::dst_desc |
Destination memory descriptor.
mkldnn_memory_desc_t mkldnn_pooling_desc_t::diff_dst_desc |
Destination gradient memory descriptor.
mkldnn_dims_t mkldnn_pooling_desc_t::strides |
Pooling kernel strides for spatial dimensions.
mkldnn_dims_t mkldnn_pooling_desc_t::kernel |
Pooling kernel spatial dimensions.
mkldnn_dims_t mkldnn_pooling_desc_t::padding[2] |
Padding in each spatial dimension.
padding[0] is a padding in the beginning (padding_l
), padding[1] is a padding in the end (padding_r
).
mkldnn_padding_kind_t mkldnn_pooling_desc_t::padding_kind |
The kind of padding to use.
mkldnn_data_type_t mkldnn_pooling_desc_t::accum_data_type |
The accumulator data type.
Initialized automatically.