mxnet
Public Attributes | List of all members
mkldnn_batch_normalization_desc_t Struct Reference

#include <mkldnn_types.h>

Collaboration diagram for mkldnn_batch_normalization_desc_t:
Collaboration graph

Public Attributes

mkldnn_primitive_kind_t primitive_kind
 
mkldnn_prop_kind_t prop_kind
 
mkldnn_memory_desc_t data_desc
 
mkldnn_memory_desc_t diff_data_desc
 
mkldnn_memory_desc_t data_scaleshift_desc
 
mkldnn_memory_desc_t diff_data_scaleshift_desc
 
mkldnn_memory_desc_t mean_desc
 
mkldnn_memory_desc_t variance_desc
 
float batch_norm_epsilon
 
unsigned flags
 

Detailed Description

A descriptor of a Batch Normalization operation.

Member Data Documentation

float mkldnn_batch_normalization_desc_t::batch_norm_epsilon

Batch normalization epsilon parameter.

mkldnn_memory_desc_t mkldnn_batch_normalization_desc_t::data_desc

Source and destination memory descriptor.

mkldnn_memory_desc_t mkldnn_batch_normalization_desc_t::data_scaleshift_desc

Scale and shift data and gradient memory descriptors.

Scaleshift memory descriptor uses 2D mkldnn_nc format[2,Channels]. 1-st dimension contains gamma parameter, 2-nd dimension contains beta parameter.

mkldnn_memory_desc_t mkldnn_batch_normalization_desc_t::diff_data_desc

Source and destination gradient memory descriptor.

mkldnn_memory_desc_t mkldnn_batch_normalization_desc_t::diff_data_scaleshift_desc
unsigned mkldnn_batch_normalization_desc_t::flags
mkldnn_memory_desc_t mkldnn_batch_normalization_desc_t::mean_desc

Mean and variance data memory descriptors.

Mean and variance memory descriptors use 1D mkldnn_x format[Channels].

mkldnn_primitive_kind_t mkldnn_batch_normalization_desc_t::primitive_kind

The kind of primitive. Used for self-identifying the primitive descriptor. Must be mkldnn_batch_normalization.

mkldnn_prop_kind_t mkldnn_batch_normalization_desc_t::prop_kind

The kind of propagation. Possible values: mkldnn_forward_training, mkldnn_forward_inference, mkldnn_backward, and mkldnn_backward_data.

mkldnn_memory_desc_t mkldnn_batch_normalization_desc_t::variance_desc

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