Descriptor for a softmax forward propagation primitive. More...
#include <dnnl.hpp>
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... | |
Descriptor for a softmax forward propagation primitive.
|
inline |
Constructs a descriptor for a softmax forward propagation primitive.
Inputs:
Outputs:
prop_kind | Propagation kind. Possible values are dnnl::prop_kind::forward_training, and dnnl::prop_kind::forward_inference. |
data_desc | Source and destination memory descriptor. |
softmax_axis | Axis over which softmax is computed. |