oneAPI Deep Neural Network Library (oneDNN)
Performance library for Deep Learning
1.96.0
dnnl_resampling_desc_t Struct Reference

A descriptor of resampling operation. More...

#include <dnnl_types.h>

Collaboration diagram for dnnl_resampling_desc_t:

Public Attributes

dnnl_primitive_kind_t primitive_kind
 The kind of primitive. More...
 
dnnl_prop_kind_t prop_kind
 The kind of propagation. More...
 
dnnl_alg_kind_t alg_kind
 The kind of the resampling algorithm. More...
 
dnnl_memory_desc_t src_desc
 Source memory descriptor.
 
dnnl_memory_desc_t diff_src_desc
 Source gradient memory descriptor.
 
dnnl_memory_desc_t dst_desc
 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.
 

Detailed Description

A descriptor of resampling operation.

Member Data Documentation

◆ primitive_kind

dnnl_primitive_kind_t dnnl_resampling_desc_t::primitive_kind

The kind of primitive.

Used for self-identifying the primitive descriptor. Must be dnnl_resampling.

◆ prop_kind

dnnl_prop_kind_t dnnl_resampling_desc_t::prop_kind

The kind of propagation.

Possible values: dnnl_forward_training, dnnl_forward_inference, dnnl_backward_data,

◆ alg_kind

dnnl_alg_kind_t dnnl_resampling_desc_t::alg_kind

The kind of the resampling algorithm.

Possible values: dnnl_resampling_nearest, dnnl_resampling_linear.


The documentation for this struct was generated from the following file: