oneAPI Deep Neural Network Library (oneDNN)  1.4.0
Performance library for Deep Learning
Loading...
Searching...
No Matches
dnnl::convolution_forward::desc Struct Reference

Descriptor for a convolution forward propagation primitive. More...

#include <dnnl.hpp>

Collaboration diagram for dnnl::convolution_forward::desc:

Public Member Functions

 desc (prop_kind prop_kind, algorithm algorithm, const memory::desc &src_desc, const memory::desc &weights_desc, const memory::desc &bias_desc, const memory::desc &dst_desc, const memory::dims &strides, const memory::dims &padding_l, const memory::dims &padding_r)
 Constructs a descriptor for a convolution forward propagation primitive with bias.
 desc (prop_kind prop_kind, algorithm algorithm, const memory::desc &src_desc, const memory::desc &weights_desc, const memory::desc &dst_desc, const memory::dims &strides, const memory::dims &padding_l, const memory::dims &padding_r)
 Constructs a descriptor for a convolution forward propagation primitive without bias.
 desc (prop_kind prop_kind, algorithm algorithm, const memory::desc &src_desc, const memory::desc &weights_desc, const memory::desc &bias_desc, const memory::desc &dst_desc, const memory::dims &strides, const memory::dims &dilates, const memory::dims &padding_l, const memory::dims &padding_r)
 Constructs a descriptor for a dilated convolution forward propagation primitive with bias.
 desc (prop_kind prop_kind, algorithm algorithm, const memory::desc &src_desc, const memory::desc &weights_desc, const memory::desc &dst_desc, const memory::dims &strides, const memory::dims &dilates, const memory::dims &padding_l, const memory::dims &padding_r)
 Constructs a descriptor for a dilated convolution forward propagation primitive without bias.

Detailed Description

Constructor & Destructor Documentation

◆ desc() [1/4]

dnnl::convolution_forward::desc::desc ( prop_kind prop_kind,
algorithm algorithm,
const memory::desc & src_desc,
const memory::desc & weights_desc,
const memory::desc & bias_desc,
const memory::desc & dst_desc,
const memory::dims & strides,
const memory::dims & padding_l,
const memory::dims & padding_r )
inline

Constructs a descriptor for a convolution forward propagation primitive with bias.

Inputs:

Outputs:

Note
All the memory descriptors may be initialized with the dnnl::memory::format_tag::any value of format_tag.
Parameters
prop_kindPropagation kind. Possible values are dnnl::prop_kind::forward_training, and dnnl::prop_kind::forward_inference.
algorithmConvolution algorithm. Possible values are dnnl::algorithm::convolution_direct, dnnl::algorithm::convolution_winograd, and dnnl::algorithm::convolution_auto.
src_descSource memory descriptor.
weights_descWeights memory descriptor.
bias_descBias memory descriptor. Passing zero memory descriptor disables the bias term.
dst_descDestination memory descriptor.
stridesStrides for each spatial dimension.
padding_lVector of padding values for low indices for each spatial dimension (front, top, left).
padding_rVector of padding values for high indices for each spatial dimension (back, bottom, right).

◆ desc() [2/4]

dnnl::convolution_forward::desc::desc ( prop_kind prop_kind,
algorithm algorithm,
const memory::desc & src_desc,
const memory::desc & weights_desc,
const memory::desc & dst_desc,
const memory::dims & strides,
const memory::dims & padding_l,
const memory::dims & padding_r )
inline

Constructs a descriptor for a convolution forward propagation primitive without bias.

Inputs:

Outputs:

Note
All the memory descriptors may be initialized with the dnnl::memory::format_tag::any value of format_tag.
Parameters
prop_kindPropagation kind. Possible values are dnnl::prop_kind::forward_training, and dnnl::prop_kind::forward_inference.
algorithmConvolution algorithm. Possible values are dnnl::algorithm::convolution_direct, dnnl::algorithm::convolution_winograd, and dnnl::algorithm::convolution_auto.
src_descSource memory descriptor.
weights_descWeights memory descriptor.
dst_descDestination memory descriptor.
stridesStrides for each spatial dimension.
padding_lVector of padding values for low indices for each spatial dimension (front, top, left).
padding_rVector of padding values for high indices for each spatial dimension (back, bottom, right).

◆ desc() [3/4]

dnnl::convolution_forward::desc::desc ( prop_kind prop_kind,
algorithm algorithm,
const memory::desc & src_desc,
const memory::desc & weights_desc,
const memory::desc & bias_desc,
const memory::desc & dst_desc,
const memory::dims & strides,
const memory::dims & dilates,
const memory::dims & padding_l,
const memory::dims & padding_r )
inline

Constructs a descriptor for a dilated convolution forward propagation primitive with bias.

Inputs:

Outputs:

Note
All the memory descriptors may be initialized with the dnnl::memory::format_tag::any value of format_tag.
Parameters
prop_kindPropagation kind. Possible values are dnnl::prop_kind::forward_training, and dnnl::prop_kind::forward_inference.
algorithmConvolution algorithm. Possible values are dnnl::algorithm::convolution_direct, dnnl::algorithm::convolution_winograd, and dnnl::algorithm::convolution_auto.
src_descSource memory descriptor.
weights_descWeights memory descriptor.
bias_descBias memory descriptor. Passing zero memory descriptor disables the bias term.
dst_descDestination memory descriptor.
stridesStrides for each spatial dimension.
dilatesDilations for each spatial dimension. A zero value means no dilation in the corresponding dimension.
padding_lVector of padding values for low indices for each spatial dimension (front, top, left).
padding_rVector of padding values for high indices for each spatial dimension (back, bottom, right).

◆ desc() [4/4]

dnnl::convolution_forward::desc::desc ( prop_kind prop_kind,
algorithm algorithm,
const memory::desc & src_desc,
const memory::desc & weights_desc,
const memory::desc & dst_desc,
const memory::dims & strides,
const memory::dims & dilates,
const memory::dims & padding_l,
const memory::dims & padding_r )
inline

Constructs a descriptor for a dilated convolution forward propagation primitive without bias.

Inputs:

Outputs:

Note
All the memory descriptors may be initialized with the dnnl::memory::format_tag::any value of format_tag.
Parameters
prop_kindPropagation kind. Possible values are dnnl::prop_kind::forward_training, and dnnl::prop_kind::forward_inference.
algorithmConvolution algorithm. Possible values are dnnl::algorithm::convolution_direct, dnnl::algorithm::convolution_winograd, and dnnl::algorithm::convolution_auto.
src_descSource memory descriptor.
weights_descWeights memory descriptor.
dst_descDestination memory descriptor.
stridesStrides for each spatial dimension.
dilatesDilations for each spatial dimension. A zero value means no dilation in the corresponding dimension.
padding_lVector of padding values for low indices for each spatial dimension (front, top, left).
padding_rVector of padding values for high indices for each spatial dimension (back, bottom, right).

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