Deep Neural Network Library (DNNL)  1.3.0
Performance library for Deep Learning
Public Member Functions | List of all members
dnnl::resampling_backward::desc Struct Reference

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

#include <dnnl.hpp>

Collaboration diagram for dnnl::resampling_backward::desc:
Collaboration graph
[legend]

Public Member Functions

 desc (algorithm algorithm, 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 algorithm, 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  algorithm,
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.

Inputs:

Outputs:

Parameters
algorithmresampling 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  algorithm,
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.

Inputs:

Outputs:

Parameters
algorithmresampling 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: