.. index:: pair: struct; dnnl::inner_product_backward_weights::desc .. _doxid-structdnnl_1_1inner__product__backward__weights_1_1desc: struct dnnl::inner_product_backward_weights::desc ================================================= .. toctree:: :hidden: Overview ~~~~~~~~ Descriptor for an inner product weights gradient primitive. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct desc { // fields :ref:`dnnl_inner_product_desc_t` :target:`data`; // construction :ref:`desc`( const :ref:`memory::desc`& src_desc, const :ref:`memory::desc`& diff_weights_desc, const :ref:`memory::desc`& diff_bias_desc, const :ref:`memory::desc`& diff_dst_desc ); :ref:`desc`( const :ref:`memory::desc`& src_desc, const :ref:`memory::desc`& diff_weights_desc, const :ref:`memory::desc`& diff_dst_desc ); }; .. _details-structdnnl_1_1inner__product__backward__weights_1_1desc: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Descriptor for an inner product weights gradient primitive. Construction ------------ .. index:: pair: function; desc .. _doxid-structdnnl_1_1inner__product__backward__weights_1_1desc_1a08da17f4f460b7613d8c6143f984f941: .. ref-code-block:: cpp :class: doxyrest-title-code-block desc( const :ref:`memory::desc`& src_desc, const :ref:`memory::desc`& diff_weights_desc, const :ref:`memory::desc`& diff_bias_desc, const :ref:`memory::desc`& diff_dst_desc ) Constructs a descriptor for an inner product descriptor weights update primitive with bias. .. note:: All the memory descriptors may be initialized with the :ref:`dnnl::memory::format_tag::any ` value of ``format_tag``. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - src_desc - Memory descriptor for src. * - diff_weights_desc - Memory descriptor for diff weights. * - diff_bias_desc - Memory descriptor for diff bias. * - diff_dst_desc - Memory descriptor for diff dst. .. index:: pair: function; desc .. _doxid-structdnnl_1_1inner__product__backward__weights_1_1desc_1aec714169ef02d38afdd353a3962387ea: .. ref-code-block:: cpp :class: doxyrest-title-code-block desc( const :ref:`memory::desc`& src_desc, const :ref:`memory::desc`& diff_weights_desc, const :ref:`memory::desc`& diff_dst_desc ) Constructs a descriptor for an inner product descriptor weights update primitive without bias. .. note:: All the memory descriptors may be initialized with the :ref:`dnnl::memory::format_tag::any ` value of ``format_tag``. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - src_desc - Memory descriptor for src. * - diff_weights_desc - Memory descriptor for diff weights. * - diff_dst_desc - Memory descriptor for diff dst.