Developer Guide and Reference

  • 2022.1
  • 04/11/2022
  • Public Content

struct dnnl_softmax_v2_desc_t


A descriptor of a Softmax operation. More…

Detailed Documentation

A descriptor of a Softmax operation.
dnnl_primitive_kind_t primitive_kind
The kind of primitive.
Used for self-identifying the primitive descriptor. Must be dnnl_softmax_v2.
The kind of propagation.
Source memory descriptor.
dnnl_memory_desc_t diff_src_desc
Source gradient memory descriptor.
int softmax_axis
The axis along which to perform the softmax.
Softmax algorithm.
Destination memory descriptor.
dnnl_memory_desc_t diff_dst_desc
Destination gradient memory descriptor.

Product and Performance Information


Performance varies by use, configuration and other factors. Learn more at