.. index:: pair: struct; dnnl::softmax_forward .. _doxid-structdnnl_1_1softmax__forward: struct dnnl::softmax_forward ============================ .. toctree:: :hidden: struct_dnnl_softmax_forward_desc.rst struct_dnnl_softmax_forward_primitive_desc.rst Overview ~~~~~~~~ Softmax forward propagation primitive. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct softmax_forward: public :ref:`dnnl::primitive` { // structs struct :ref:`desc`; struct :ref:`primitive_desc`; // construction :ref:`softmax_forward`(); :ref:`softmax_forward`(const :ref:`primitive_desc`& pd); }; Inherited Members ----------------- .. ref-code-block:: cpp :class: doxyrest-overview-inherited-code-block public: // enums enum :ref:`kind`; // methods :ref:`handle`& :ref:`operator =` (const :ref:`handle`&); :ref:`handle`& :ref:`operator =` (:ref:`handle`&&); void :ref:`reset`(T t, bool weak = false); T :ref:`get`(bool allow_empty = false) const; :ref:`operator T` () const; :ref:`operator bool` () const; bool :ref:`operator ==` (const :ref:`handle`& other) const; bool :ref:`operator !=` (const :ref:`handle`& other) const; :ref:`const_dnnl_primitive_desc_t` :ref:`get_primitive_desc`() const; :ref:`kind` :ref:`get_kind`() const; void :ref:`execute`(const :ref:`stream`& astream, const std::unordered_map`>& args) const; :ref:`handle`(); :ref:`handle`(); :ref:`handle`(); :ref:`handle`(); .. _details-structdnnl_1_1softmax__forward: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Softmax forward propagation primitive. Construction ------------ .. index:: pair: function; softmax_forward .. _doxid-structdnnl_1_1softmax__forward_1a9cc65d3089823612fe1e134790c9a04a: .. ref-code-block:: cpp :class: doxyrest-title-code-block softmax_forward() Default constructor. Produces an empty object. .. index:: pair: function; softmax_forward .. _doxid-structdnnl_1_1softmax__forward_1ab84d1ab8764d37e46fffbf1f3e11dc47: .. ref-code-block:: cpp :class: doxyrest-title-code-block softmax_forward(const :ref:`primitive_desc`& pd) Constructs a softmax forward propagation primitive. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - pd - Primitive descriptor for a softmax forward propagation primitive.