[][src]Function onednn_sys::dnnl_inner_product_backward_weights_desc_init

pub unsafe extern "C" fn dnnl_inner_product_backward_weights_desc_init(
    ip_desc: *mut dnnl_inner_product_desc_t,
    src_desc: *const dnnl_memory_desc_t,
    diff_weights_desc: *const dnnl_memory_desc_t,
    diff_bias_desc: *const dnnl_memory_desc_t,
    diff_dst_desc: *const dnnl_memory_desc_t
) -> dnnl_status_t

Initializes descriptor for inner product weights gradient primitive.

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

@param ip_desc Output descriptor for inner product primitive. @param src_desc Source memory descriptor. @param diff_weights_desc Diff weights memory descriptor. @param diff_bias_desc Diff 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 diff_dst_desc Diff destination memory descriptor. @returns #dnnl_success on success and a status describing the error otherwise.