oneAPI Deep Neural Network Library (oneDNN)
Performance library for Deep Learning
1.96.0
dnnl::resampling_backward::desc Struct Reference

Descriptor for a resampling backward propagation primitive. More...

#include <dnnl.hpp>

Collaboration diagram for dnnl::resampling_backward::desc:

Public Member Functions

 desc (algorithm aalgorithm, const memory::desc &diff_src_desc, const memory::desc &diff_dst_desc)
 Constructs a descriptor for a resampling backward propagation primitive using source and destination memory descriptors. More...
 
 desc (algorithm aalgorithm, const std::vector< float > &factors, const memory::desc &diff_src_desc, const memory::desc &diff_dst_desc)
 Constructs a descriptor for resampling backward propagation primitive. More...
 

Detailed Description

Descriptor for a resampling backward propagation primitive.

Constructor & Destructor Documentation

◆ desc() [1/2]

dnnl::resampling_backward::desc::desc ( algorithm  aalgorithm,
const memory::desc diff_src_desc,
const memory::desc diff_dst_desc 
)
inline

Constructs a descriptor for a resampling backward propagation primitive using source and destination memory descriptors.

Parameters
aalgorithmresampling algorithm kind: either dnnl::algorithm::resampling_nearest, or dnnl::algorithm::resampling_linear
diff_src_descDiff source memory descriptor.
diff_dst_descDiff destination memory descriptor.

◆ desc() [2/2]

dnnl::resampling_backward::desc::desc ( algorithm  aalgorithm,
const std::vector< float > &  factors,
const memory::desc diff_src_desc,
const memory::desc diff_dst_desc 
)
inline

Constructs a descriptor for resampling backward propagation primitive.

Parameters
aalgorithmresampling algorithm kind: either dnnl::algorithm::resampling_nearest, or dnnl::algorithm::resampling_linear
factorsVector of scaling factors for spatial dimension.
diff_src_descDiff source memory descriptor.
diff_dst_descDiff destination memory descriptor.

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