.. index:: pair: struct; dnnl::deconvolution_backward_data::desc .. _doxid-structdnnl_1_1deconvolution__backward__data_1_1desc: struct dnnl::deconvolution_backward_data::desc ============================================== .. toctree:: :hidden: Overview ~~~~~~~~ Descriptor for a deconvolution backward propagation primitive. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct desc { // fields :ref:`dnnl_deconvolution_desc_t` :target:`data`; // construction :ref:`desc`( :ref:`algorithm` aalgorithm, const :ref:`memory::desc`& diff_src_desc, const :ref:`memory::desc`& weights_desc, const :ref:`memory::desc`& diff_dst_desc, const :ref:`memory::dims`& strides, const :ref:`memory::dims`& padding_l, const :ref:`memory::dims`& padding_r ); :ref:`desc`( :ref:`algorithm` aalgorithm, const :ref:`memory::desc`& diff_src_desc, const :ref:`memory::desc`& weights_desc, const :ref:`memory::desc`& diff_dst_desc, const :ref:`memory::dims`& strides, const :ref:`memory::dims`& dilates, const :ref:`memory::dims`& padding_l, const :ref:`memory::dims`& padding_r ); }; .. _details-structdnnl_1_1deconvolution__backward__data_1_1desc: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Descriptor for a deconvolution backward propagation primitive. Construction ------------ .. index:: pair: function; desc .. _doxid-structdnnl_1_1deconvolution__backward__data_1_1desc_1a86e49e42fd4399edadd8c7313101dce3: .. ref-code-block:: cpp :class: doxyrest-title-code-block desc( :ref:`algorithm` aalgorithm, const :ref:`memory::desc`& diff_src_desc, const :ref:`memory::desc`& weights_desc, const :ref:`memory::desc`& diff_dst_desc, const :ref:`memory::dims`& strides, const :ref:`memory::dims`& padding_l, const :ref:`memory::dims`& padding_r ) Constructs a descriptor for a deconvolution backward propagation primitive. .. note:: All the memory descriptors may be initialized with the :ref:`dnnl::memory::format_tag::any ` value of ``format_tag``. Arrays ``strides``, ``padding_l``, and ``padding_r`` contain values for spatial dimensions only and hence must have the same number of elements as there are spatial dimensions. The order of values is the same as in the tensor: depth (for 3D tensors), height (for 3D and 2D tensors), and width. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - aalgorithm - Deconvolution algorithm (:ref:`dnnl::algorithm::convolution_direct `, :ref:`dnnl::algorithm::convolution_winograd `). * - diff_src_desc - Diff source memory descriptor. * - weights_desc - Weights memory descriptor. * - diff_dst_desc - Diff destination memory descriptor. * - strides - Strides for each spatial dimension. * - padding_l - Vector of padding values for low indices for each spatial dimension ``([[front,] top,] left)``. * - padding_r - Vector of padding values for high indices for each spatial dimension ``([[back,] bottom,] right)``. .. index:: pair: function; desc .. _doxid-structdnnl_1_1deconvolution__backward__data_1_1desc_1a4aac0ae3c42454b1d9eecead6a9c316b: .. ref-code-block:: cpp :class: doxyrest-title-code-block desc( :ref:`algorithm` aalgorithm, const :ref:`memory::desc`& diff_src_desc, const :ref:`memory::desc`& weights_desc, const :ref:`memory::desc`& diff_dst_desc, const :ref:`memory::dims`& strides, const :ref:`memory::dims`& dilates, const :ref:`memory::dims`& padding_l, const :ref:`memory::dims`& padding_r ) Constructs a descriptor for a dilated deconvolution backward propagation primitive. .. note:: All the memory descriptors may be initialized with the :ref:`dnnl::memory::format_tag::any ` value of ``format_tag``. Arrays ``strides``, ``dilates``, ``padding_l``, and ``padding_r`` contain values for spatial dimensions only and hence must have the same number of elements as there are spatial dimensions. The order of values is the same as in the tensor: depth (for 3D tensors), height (for 3D and 2D tensors), and width. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - aalgorithm - Deconvolution algorithm (:ref:`dnnl::algorithm::convolution_direct `, :ref:`dnnl::algorithm::convolution_winograd `). * - diff_src_desc - Diff source memory descriptor. * - weights_desc - Weights memory descriptor. * - diff_dst_desc - Diff destination memory descriptor. * - strides - Strides for each spatial dimension. * - dilates - Dilations for each spatial dimension. A zero value means no dilation in the corresponding dimension. * - padding_l - Vector of padding values for low indices for each spatial dimension ``([[front,] top,] left)``. * - padding_r - Vector of padding values for high indices for each spatial dimension ``([[back,] bottom,] right)``.