.. index:: pair: struct; dnnl::logsoftmax_forward::desc .. _doxid-structdnnl_1_1logsoftmax__forward_1_1desc: struct dnnl::logsoftmax_forward::desc ===================================== .. toctree:: :hidden: Overview ~~~~~~~~ Descriptor for a logsoftmax forward propagation primitive. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct desc { // fields :ref:`dnnl_logsoftmax_desc_t` :target:`data`; // construction :ref:`desc`(); :ref:`desc`(:ref:`prop_kind` aprop_kind, const :ref:`memory::desc`& data_desc, int logsoftmax_axis); }; .. _details-structdnnl_1_1logsoftmax__forward_1_1desc: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Descriptor for a logsoftmax forward propagation primitive. Construction ------------ .. index:: pair: function; desc .. _doxid-structdnnl_1_1logsoftmax__forward_1_1desc_1a2806d2d9e14e23b6d24bde6231c0d8bf: .. ref-code-block:: cpp :class: doxyrest-title-code-block desc() Default constructor. Produces an empty object. .. index:: pair: function; desc .. _doxid-structdnnl_1_1logsoftmax__forward_1_1desc_1a1a283895364e7edb1360afbd81ebef66: .. ref-code-block:: cpp :class: doxyrest-title-code-block desc(:ref:`prop_kind` aprop_kind, const :ref:`memory::desc`& data_desc, int logsoftmax_axis) Constructs a descriptor for a logsoftmax forward propagation primitive. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - aprop_kind - Propagation kind. Possible values are :ref:`dnnl::prop_kind::forward_training `, and :ref:`dnnl::prop_kind::forward_inference `. * - data_desc - Source and destination memory descriptor. * - logsoftmax_axis - Axis over which softmax is computed.