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

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

#include <dnnl.hpp>

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

Public Member Functions

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

Detailed Description

Descriptor for a softmax forward propagation primitive.

Constructor & Destructor Documentation

◆ desc()

dnnl::softmax_forward::desc::desc ( prop_kind  prop_kind,
const memory::desc data_desc,
int  softmax_axis 
)
inline

Constructs a descriptor for a softmax forward propagation primitive.

Inputs:

Outputs:

Parameters
prop_kindPropagation kind. Possible values are dnnl::prop_kind::forward_training, and dnnl::prop_kind::forward_inference.
data_descSource and destination memory descriptor.
softmax_axisAxis over which softmax is computed.

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