.. index:: pair: struct; dnnl::lstm_backward .. _doxid-structdnnl_1_1lstm__backward: struct dnnl::lstm_backward ========================== .. toctree:: :hidden: struct_dnnl_lstm_backward_primitive_desc.rst Overview ~~~~~~~~ LSTM backward propagation primitive. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct lstm_backward: public :ref:`dnnl::primitive` { // structs struct :ref:`primitive_desc`; // construction :ref:`lstm_backward`(); :ref:`lstm_backward`(const :ref:`primitive_desc`& pd); :ref:`lstm_backward`(const :ref:`primitive_desc`& pd, const std::vector& cache_blob); }; 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; std::vector :ref:`get_cache_blob`() 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_1lstm__backward: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ LSTM backward propagation primitive. Construction ------------ .. index:: pair: function; lstm_backward .. _doxid-structdnnl_1_1lstm__backward_1a35892447433ce617b1748d1c06f694bc: .. ref-code-block:: cpp :class: doxyrest-title-code-block lstm_backward() Default constructor. Produces an empty object. .. index:: pair: function; lstm_backward .. _doxid-structdnnl_1_1lstm__backward_1ac739e79fb7340c8b05a058ca85efe8ce: .. ref-code-block:: cpp :class: doxyrest-title-code-block lstm_backward(const :ref:`primitive_desc`& pd) Constructs an LSTM backward propagation primitive. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - pd - Primitive descriptor for an LSTM backward propagation primitive. .. index:: pair: function; lstm_backward .. _doxid-structdnnl_1_1lstm__backward_1a6771c17f6311d8c8c0174518912729bc: .. ref-code-block:: cpp :class: doxyrest-title-code-block lstm_backward(const :ref:`primitive_desc`& pd, const std::vector& cache_blob) Constructs an LSTM backward propagation primitive from a cache blob. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - pd - Primitive descriptor for an LSTM backward propagation primitive. * - cache_blob - Cache blob.