A descriptor of a Softmax operation. More...
#include <dnnl_types.h>

Public Attributes | |
| dnnl_primitive_kind_t | primitive_kind |
| The kind of primitive. More... | |
| dnnl_prop_kind_t | prop_kind |
| The kind of propagation. More... | |
| dnnl_memory_desc_t | data_desc |
| Source and destination memory descriptor. | |
| dnnl_memory_desc_t | diff_desc |
| Source and Destination of gradient memory descriptor. | |
| int | softmax_axis |
| The axis along which to perform the softmax. | |
A descriptor of a Softmax operation.
| dnnl_primitive_kind_t dnnl_softmax_desc_t::primitive_kind |
The kind of primitive.
Used for self-identifying the primitive descriptor. Must be dnnl_softmax.
| dnnl_prop_kind_t dnnl_softmax_desc_t::prop_kind |
The kind of propagation.
Possible values: dnnl_forward_training and dnnl_forward_inference.