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

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

#include <dnnl.hpp>

Collaboration diagram for dnnl::logsoftmax_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 logsoftmax_axis)
 Constructs a descriptor for a logsoftmax backward propagation primitive. More...
 

Detailed Description

Descriptor for a logsoftmax backward propagation primitive.

Constructor & Destructor Documentation

◆ desc()

dnnl::logsoftmax_backward::desc::desc ( const memory::desc diff_data_desc,
const memory::desc data_desc,
int  logsoftmax_axis 
)
inline

Constructs a descriptor for a logsoftmax backward propagation primitive.

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

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