Descriptor for a resampling backward propagation primitive. More...
#include <dnnl.hpp>
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... | |
Descriptor for a resampling backward propagation primitive.
|
inline |
Constructs a descriptor for a resampling backward propagation primitive using source and destination memory descriptors.
Inputs:
Outputs:
algorithm | resampling algorithm kind: either dnnl::algorithm::resampling_nearest, or dnnl::algorithm::resampling_linear |
diff_src_desc | Diff source memory descriptor. |
diff_dst_desc | Diff destination memory descriptor. |
|
inline |
Constructs a descriptor for resampling backward propagation primitive.
Inputs:
Outputs:
algorithm | resampling algorithm kind: either dnnl::algorithm::resampling_nearest, or dnnl::algorithm::resampling_linear |
factors | Vector of scaling factors for spatial dimension. |
diff_src_desc | Diff source memory descriptor. |
diff_dst_desc | Diff destination memory descriptor. |