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

Descriptor for layer normalization backward propagation. More...

#include <dnnl.hpp>

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

Public Member Functions

 desc (prop_kind aprop_kind, const memory::desc &diff_data_desc, const memory::desc &data_desc, const memory::desc &stat_desc, float epsilon, normalization_flags flags)
 Initializes a layer normalization descriptor for backward propagation with respect to data and scale-shift parameters using memory descriptors data_desc and diff_data_desc, normalization parameter epsilon, and flags set using bit flags of type dnnl_layer_normalization_desc_t. More...
 

Detailed Description

Descriptor for layer normalization backward propagation.

Constructor & Destructor Documentation

◆ desc()

dnnl::layer_normalization_backward::desc::desc ( prop_kind  aprop_kind,
const memory::desc diff_data_desc,
const memory::desc data_desc,
const memory::desc stat_desc,
float  epsilon,
normalization_flags  flags 
)
inline

Initializes a layer normalization descriptor for backward propagation with respect to data and scale-shift parameters using memory descriptors data_desc and diff_data_desc, normalization parameter epsilon, and flags set using bit flags of type dnnl_layer_normalization_desc_t.

Note
In-place operation is supported; that is, diff_src points to the same memory as diff_dst.

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