.. index:: pair: struct; dnnl::convolution_backward_weights .. _doxid-structdnnl_1_1convolution__backward__weights: struct dnnl::convolution_backward_weights ========================================= .. toctree:: :hidden: struct_dnnl_convolution_backward_weights_primitive_desc.rst Overview ~~~~~~~~ Convolution weights gradient primitive. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct convolution_backward_weights: public :ref:`dnnl::primitive` { // structs struct :ref:`primitive_desc`; // construction :ref:`convolution_backward_weights`(); :ref:`convolution_backward_weights`(const :ref:`primitive_desc`& pd); :ref:`convolution_backward_weights`( 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_1convolution__backward__weights: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Convolution weights gradient primitive. Construction ------------ .. index:: pair: function; convolution_backward_weights .. _doxid-structdnnl_1_1convolution__backward__weights_1a56c06b881cf11a51933d8b05908430fe: .. ref-code-block:: cpp :class: doxyrest-title-code-block convolution_backward_weights() Default constructor. Produces an empty object. .. index:: pair: function; convolution_backward_weights .. _doxid-structdnnl_1_1convolution__backward__weights_1ac85c02892cfb3139b3e18e5a4111758d: .. ref-code-block:: cpp :class: doxyrest-title-code-block convolution_backward_weights(const :ref:`primitive_desc`& pd) Constructs a convolution weights gradient primitive. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - pd - Primitive descriptor for a convolution weights gradient primitive. .. index:: pair: function; convolution_backward_weights .. _doxid-structdnnl_1_1convolution__backward__weights_1addfb54497cfcb019ccd5799eeef3f15f: .. ref-code-block:: cpp :class: doxyrest-title-code-block convolution_backward_weights( const :ref:`primitive_desc`& pd, const std::vector& cache_blob ) Constructs a convolution weights gradient primitive from a cache blob. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - pd - Primitive descriptor for a convolution weights gradient primitive. * - cache_blob - Cache blob.