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

Descriptor for convolution forward propagation. More...

#include <dnnl.hpp>

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

Public Member Functions

 desc (prop_kind aprop_kind, algorithm aalgorithm, 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)
 Initializes a descriptor for convolution forward propagation without bias using aprop_kind (possible values are dnnl::forward_training and dnnl::forward_inference), aalgorithm, memory descriptors, strides, padding_l, and padding_r. More...
 
 desc (prop_kind aprop_kind, algorithm aalgorithm, 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)
 Initializes a descriptor for convolution forward propagation with bias using prop_kind (possible values are dnnl::forward_training and dnnl::forward_inference), aalgorithm, memory descriptors, strides, padding_l, and padding_r. More...
 
 desc (prop_kind aprop_kind, algorithm aalgorithm, 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)
 Initializes a descriptor for dilated convolution forward propagation without bias using prop_kind (possible values are dnnl::forward_training and dnnl::forward_inference), aalgorithm, memory descriptors, strides, dilates, padding_l, and padding_r. More...
 
 desc (prop_kind aprop_kind, algorithm aalgorithm, 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)
 Initializes a descriptor for dilated convolution forward propagation with bias using prop_kind (possible values are dnnl::forward_training and dnnl::forward_inference), aalgorithm, memory descriptors, strides, dilates, padding_l, and padding_r. More...
 

Detailed Description

Descriptor for convolution forward propagation.

Examples:
cnn_inference_f32.cpp, cnn_inference_int8.cpp, cnn_training_f32.cpp, cpu_cnn_training_bf16.cpp, and performance_profiling.cpp.

Constructor & Destructor Documentation

◆ desc() [1/4]

dnnl::convolution_forward::desc::desc ( prop_kind  aprop_kind,
algorithm  aalgorithm,
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

Initializes a descriptor for convolution forward propagation without bias using aprop_kind (possible values are dnnl::forward_training and dnnl::forward_inference), aalgorithm, memory descriptors, strides, padding_l, and padding_r.

Note
Memory descriptors are allowed to be initialized with dnnl::memory::format_tag::any value of format_kind.

◆ desc() [2/4]

dnnl::convolution_forward::desc::desc ( prop_kind  aprop_kind,
algorithm  aalgorithm,
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

Initializes a descriptor for convolution forward propagation with bias using prop_kind (possible values are dnnl::forward_training and dnnl::forward_inference), aalgorithm, memory descriptors, strides, padding_l, and padding_r.

Note
Memory descriptors are allowed to be initialized with dnnl::memory::format_tag::any value of format_kind.

◆ desc() [3/4]

dnnl::convolution_forward::desc::desc ( prop_kind  aprop_kind,
algorithm  aalgorithm,
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

Initializes a descriptor for dilated convolution forward propagation without bias using prop_kind (possible values are dnnl::forward_training and dnnl::forward_inference), aalgorithm, memory descriptors, strides, dilates, padding_l, and padding_r.

Note
Memory descriptors are allowed to be initialized with dnnl::memory::format_tag::any value of format_kind.

◆ desc() [4/4]

dnnl::convolution_forward::desc::desc ( prop_kind  aprop_kind,
algorithm  aalgorithm,
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

Initializes a descriptor for dilated convolution forward propagation with bias using prop_kind (possible values are dnnl::forward_training and dnnl::forward_inference), aalgorithm, memory descriptors, strides, dilates, padding_l, and padding_r.

Note
Memory descriptors are allowed to be initialized with dnnl::memory::format_tag::any value of format_kind.

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