Intel(R) Math Kernel Library for Deep Neural Networks (Intel(R) MKL-DNN)  1.0.4
Performance library for Deep Learning
Public Member Functions | List of all members
mkldnn::convolution_forward::desc Struct Reference

Descriptor for convolution forward propagation. More...

#include <mkldnn.hpp>

Collaboration diagram for mkldnn::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 mkldnn::forward_training and mkldnn::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 mkldnn::forward_training and mkldnn::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 mkldnn::forward_training and mkldnn::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 mkldnn::forward_training and mkldnn::forward_inference), aalgorithm, memory descriptors, strides, dilates, padding_l, and padding_r. More...
 

Detailed Description

Descriptor for convolution forward propagation.

Examples:
cpu_cnn_inference_f32.cpp, cpu_cnn_inference_int8.cpp, cpu_cnn_training_bf16.cpp, cpu_cnn_training_f32.cpp, and cpu_performance_profiling.cpp.

Constructor & Destructor Documentation

◆ desc() [1/4]

mkldnn::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 mkldnn::forward_training and mkldnn::forward_inference), aalgorithm, memory descriptors, strides, padding_l, and padding_r.

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

◆ desc() [2/4]

mkldnn::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 mkldnn::forward_training and mkldnn::forward_inference), aalgorithm, memory descriptors, strides, padding_l, and padding_r.

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

◆ desc() [3/4]

mkldnn::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 mkldnn::forward_training and mkldnn::forward_inference), aalgorithm, memory descriptors, strides, dilates, padding_l, and padding_r.

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

◆ desc() [4/4]

mkldnn::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 mkldnn::forward_training and mkldnn::forward_inference), aalgorithm, memory descriptors, strides, dilates, padding_l, and padding_r.

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

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