Descriptor for a batch normalization forward propagation primitive. More...
#include <dnnl.hpp>
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... | |
Descriptor for a batch normalization forward propagation primitive.
|
inline |
Constructs a batch normalization descriptor for forward propagation.
Inputs:
flags
flags
flags
Outputs:
flags
and prop_kind
= dnnl::prop_kind::forward_trainingflags
and prop_kind
= dnnl::prop_kind::forward_trainingflags
and prop_kind
= dnnl::prop_kind::forward_training; must be queried for using primitive_desc_base::query_md() after a corresponding primitive descriptor is createdprop_kind | Propagation kind. Possible values are dnnl::prop_kind::forward_training and dnnl::prop_kind::forward_inference. |
data_desc | Source and destination memory descriptors. |
epsilon | Batch normalization epsilon parameter. |
flags | Batch normalization flags (dnnl::normalization_flags). |