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

Descriptor for a batch normalization forward propagation primitive. More...

#include <dnnl.hpp>

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

Public Member Functions

 desc (prop_kind prop_kind, const memory::desc &data_desc, float epsilon, normalization_flags flags)
 Constructs a batch normalization descriptor for forward propagation. More...
 

Detailed Description

Descriptor for a batch normalization forward propagation primitive.

Constructor & Destructor Documentation

◆ desc()

dnnl::batch_normalization_forward::desc::desc ( prop_kind  prop_kind,
const memory::desc data_desc,
float  epsilon,
normalization_flags  flags 
)
inline

Constructs a batch normalization descriptor for forward propagation.

Note
In-place operation is supported: the dst can refer to the same memory as the src.

Inputs:

Outputs:

Parameters
prop_kindPropagation kind. Possible values are dnnl::prop_kind::forward_training and dnnl::prop_kind::forward_inference.
data_descSource and destination memory descriptors.
epsilonBatch normalization epsilon parameter.
flagsBatch normalization flags (dnnl::normalization_flags).

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