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

Descriptor for a softmax backward propagation primitive. More...

#include <dnnl.hpp>

Collaboration diagram for dnnl::softmax_backward::desc:

Public Member Functions

 desc ()=default
 Default constructor. Produces an empty object.
 
 desc (const memory::desc &diff_data_desc, const memory::desc &data_desc, int softmax_axis)
 Constructs a descriptor for a softmax backward propagation primitive. More...
 

Detailed Description

Descriptor for a softmax backward propagation primitive.

Constructor & Destructor Documentation

◆ desc()

dnnl::softmax_backward::desc::desc ( const memory::desc diff_data_desc,
const memory::desc data_desc,
int  softmax_axis 
)
inline

Constructs a descriptor for a softmax backward propagation primitive.

Parameters
diff_data_descDiff source and diff destination memory descriptor.
data_descDestination memory descriptor.
softmax_axisAxis over which softmax is computed.

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