oneAPI Deep Neural Network Library (oneDNN)
Performance library for Deep Learning
1.96.0
dnnl::eltwise_backward::desc Struct Reference

Descriptor for an elementwise backward propagation primitive. More...

#include <dnnl.hpp>

Collaboration diagram for dnnl::eltwise_backward::desc:

Public Member Functions

 desc (algorithm aalgorithm, const memory::desc &diff_data_desc, const memory::desc &data_desc, float alpha=0, float beta=0)
 Constructs a descriptor for an elementwise backward propagation primitive. More...
 

Detailed Description

Descriptor for an elementwise backward propagation primitive.

Examples:
cnn_training_bf16.cpp, and cnn_training_f32.cpp.

Constructor & Destructor Documentation

◆ desc()

dnnl::eltwise_backward::desc::desc ( algorithm  aalgorithm,
const memory::desc diff_data_desc,
const memory::desc data_desc,
float  alpha = 0,
float  beta = 0 
)
inline

Constructs a descriptor for an elementwise backward propagation primitive.

Parameters
aalgorithmElementwise algorithm kind.
diff_data_descDiff source and destination memory descriptors.
data_descSource memory descriptor.
alphaThe alpha parameter for the elementwise operation. Specific meaning depends on the algorithm.
betaThe beta parameter for the elementwise operation. Specific meaning depends on the algorithm.

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