Descriptor for a resampling backward propagation primitive. More...
#include <dnnl.hpp>
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... | |
Descriptor for a resampling backward propagation primitive.
|
inline |
Constructs a descriptor for a resampling backward propagation primitive using source and destination memory descriptors.
aalgorithm | 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.
aalgorithm | 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. |