Intel(R) Math Kernel Library for Deep Neural Networks (Intel(R) MKL-DNN)  1.0.4
Performance library for Deep Learning
Public Attributes | List of all members
mkldnn_convolution_desc_t Struct Reference

A descriptor of a convolution operation. More...

#include <mkldnn_types.h>

Collaboration diagram for mkldnn_convolution_desc_t:
Collaboration graph
[legend]

Public Attributes

mkldnn_primitive_kind_t primitive_kind
 The kind of primitive. More...
 
mkldnn_prop_kind_t prop_kind
 The kind of propagation. More...
 
mkldnn_alg_kind_t alg_kind
 The kind of the convolution algorithm. More...
 
mkldnn_memory_desc_t src_desc
 Source memory descriptor.
 
mkldnn_memory_desc_t diff_src_desc
 Source gradient memory descriptor.
 
mkldnn_memory_desc_t weights_desc
 Weights memory descriptor.
 
mkldnn_memory_desc_t diff_weights_desc
 Weights gradient memory descriptor.
 
mkldnn_memory_desc_t bias_desc
 Bias memory descriptor.
 
mkldnn_memory_desc_t diff_bias_desc
 Bias gradient memory descriptor.
 
mkldnn_memory_desc_t dst_desc
 Destination memory descriptor.
 
mkldnn_memory_desc_t diff_dst_desc
 Destination gradient memory descriptor.
 
mkldnn_dims_t strides
 Convolution strides in each spatial dimension.
 
mkldnn_dims_t dilates
 Convolution dilates in each spatial dimension.
 
mkldnn_dims_t padding [2]
 Padding in each spatial dimension. More...
 
mkldnn_data_type_t accum_data_type
 The accumulator data type. Initialized automatically.
 

Detailed Description

A descriptor of a convolution operation.

Examples:
cpu_cnn_inference_f32.c, and cpu_cnn_training_f32.c.

Member Data Documentation

◆ primitive_kind

mkldnn_primitive_kind_t mkldnn_convolution_desc_t::primitive_kind

The kind of primitive.

Used for self-identifying the primitive descriptor. Must be mkldnn_convolution.

◆ prop_kind

mkldnn_prop_kind_t mkldnn_convolution_desc_t::prop_kind

◆ alg_kind

mkldnn_alg_kind_t mkldnn_convolution_desc_t::alg_kind

The kind of the convolution algorithm.

Possible values: mkldnn_convolution_direct.

◆ padding

mkldnn_dims_t mkldnn_convolution_desc_t::padding[2]

Padding in each spatial dimension.

padding[0] is a padding in the beginning (padding_l), padding[1] is a padding in the end (padding_r).


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