Developer Guide and Reference

  • 2022.1
  • 04/11/2022
  • Public Content

struct dnnl_resampling_desc_t


A descriptor of resampling operation. More…

Detailed Documentation

A descriptor of resampling operation.
dnnl_primitive_kind_t primitive_kind
The kind of primitive.
Used for self-identifying the primitive descriptor. Must be dnnl_resampling.
The kind of propagation.
The kind of the resampling 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.
float factors[DNNL_MAX_NDIMS]
Resampling factor in each spatial dimension.

Product and Performance Information


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