[][src]Function onednn_sys::dnnl_dilated_deconvolution_forward_desc_init

pub unsafe extern "C" fn dnnl_dilated_deconvolution_forward_desc_init(
    deconv_desc: *mut dnnl_deconvolution_desc_t,
    prop_kind: dnnl_prop_kind_t,
    alg_kind: dnnl_alg_kind_t,
    src_desc: *const dnnl_memory_desc_t,
    weights_desc: *const dnnl_memory_desc_t,
    bias_desc: *const dnnl_memory_desc_t,
    dst_desc: *const dnnl_memory_desc_t,
    strides: *mut dnnl_dim_t,
    dilates: *mut dnnl_dim_t,
    padding_l: *mut dnnl_dim_t,
    padding_r: *mut dnnl_dim_t
) -> dnnl_status_t

Initializes a descriptor for a dilated deconvolution forward propagation primitive.

@note Memory descriptors can be initialized with #dnnl_format_tag_any or with format_kind set to #dnnl_format_kind_any.

Arrays @p strides, @p dilates, @p padding_l, and @p 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.

@param deconv_desc Output descriptor for a deconvolution primitive. @param prop_kind Propagation kind. Possible values are #dnnl_forward_training and #dnnl_forward_inference. @param alg_kind Deconvolution algorithm. Possible values are #dnnl_deconvolution_direct, #dnnl_deconvolution_winograd. @param src_desc Source memory descriptor. @param weights_desc Weights memory descriptor. @param bias_desc Bias memory descriptor. Passing NULL, a zero memory descriptor, or a memory descriptor with format_kind set to #dnnl_format_kind_undef disables the bias term. @param dst_desc Destination memory descriptor. @param strides Array of strides for spatial dimension. @param dilates Array of dilations for spatial dimension. A zero value means no dilation in the corresponding dimension. @param padding_l Array of padding values for low indices for each spatial dimension ([[front,] top,] left). @param padding_r Array of padding values for high indices for each spatial dimension ([[back,] bottom,] right). Can be NULL in which case padding is considered to be symmetrical. @returns #dnnl_success on success and a status describing the error otherwise.