Descriptor for resampling forward propagation. More...
#include <dnnl.hpp>
Public Member Functions | |
desc (prop_kind prop_kind, algorithm algorithm, const memory::desc &src_desc, const memory::desc &dst_desc) | |
Constructs a descriptor for a resampling forward propagation primitive using source and destination memory descriptors. More... | |
desc (prop_kind prop_kind, algorithm algorithm, const std::vector< float > &factors, const memory::desc &src_desc) | |
Constructs a descriptor for a resampling forward propagation primitive using source memory descriptor and factors. More... | |
desc (prop_kind prop_kind, algorithm algorithm, const std::vector< float > &factors, const memory::desc &src_desc, const memory::desc &dst_desc) | |
Constructs a descriptor for a resampling forward propagation primitive. More... | |
Descriptor for resampling forward propagation.
|
inline |
Constructs a descriptor for a resampling forward propagation primitive using source and destination memory descriptors.
format_tag
. Inputs:Outputs:
prop_kind | Propagation kind. Possible values are dnnl::prop_kind::forward_training, and dnnl::prop_kind::forward_inference. |
algorithm | resampling algorithm kind: either dnnl::algorithm::resampling_nearest, or dnnl::algorithm::resampling_linear |
src_desc | Source memory descriptor. |
dst_desc | Destination memory descriptor. |
|
inline |
Constructs a descriptor for a resampling forward propagation primitive using source memory descriptor and factors.
Inputs:
prop_kind | Propagation kind. Possible values are dnnl::prop_kind::forward_training, and dnnl::prop_kind::forward_inference. |
algorithm | resampling algorithm kind: either dnnl::algorithm::resampling_nearest, or dnnl::algorithm::resampling_linear |
factors | Vector of scaling factors for spatial dimension. |
src_desc | Source memory descriptor. |
|
inline |
Constructs a descriptor for a resampling forward propagation primitive.
format_tag
. Inputs:Outputs:
prop_kind | Propagation kind. Possible values are dnnl::prop_kind::forward_training, and dnnl::prop_kind::forward_inference. |
algorithm | resampling algorithm kind: either dnnl::algorithm::resampling_nearest, or dnnl::algorithm::resampling_linear |
factors | Vector of scaling factors for spatial dimension. |
src_desc | Source memory descriptor. |
dst_desc | Destination memory descriptor. |