[−][src]Function onednn_sys::dnnl_inner_product_forward_desc_init
pub unsafe extern "C" fn dnnl_inner_product_forward_desc_init(
ip_desc: *mut dnnl_inner_product_desc_t,
prop_kind: dnnl_prop_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
) -> dnnl_status_t
Initializes descriptor for inner product forward propagation.
@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 prop_kind Propagation kind. Possible values are #dnnl_forward_training and #dnnl_forward_inference. @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. @returns #dnnl_success on success and a status describing the error otherwise.