Developer Guide and Reference

  • 2022.1
  • 04/11/2022
  • Public Content

struct dnnl_pooling_desc_t

Detailed Documentation

A descriptor of a pooling operation.
dnnl_primitive_kind_t primitive_kind
The kind of primitive.
Used for self-identifying the primitive descriptor. Must be dnnl_pooling.
The kind of propagation.
The kind of pooling algorithm.
Source memory descriptor.
dnnl_memory_desc_t diff_src_desc
Source gradient memory descriptor.
Destination memory descriptor.
dnnl_memory_desc_t diff_dst_desc
Destination gradient memory descriptor.
dnnl_dims_t strides
Pooling kernel strides for spatial dimensions.
Pooling kernel spatial dimensions.
dnnl_dims_t padding[2]
Padding in each spatial dimension.
padding[0] is a padding in the beginning (
), padding[1] is a padding in the end (
dnnl_data_type_t accum_data_type
The accumulator data type. Initialized automatically.

Product and Performance Information


Performance varies by use, configuration and other factors. Learn more at