[][src]Function onednn_sys::dnnl_post_ops_get_params_sum_v2

pub unsafe extern "C" fn dnnl_post_ops_get_params_sum_v2(
    post_ops: const_dnnl_post_ops_t,
    index: c_int,
    scale: *mut f32,
    data_type: *mut dnnl_data_type_t
) -> dnnl_status_t

Returns the parameters of an accumulation (sum) post-op with a data type parameter.

@param post_ops Post-ops. @param index Index of the sum post-op. @param scale Output accumulation scaling factor. @param data_type Data type for accumulation. @returns #dnnl_success on success and a status describing the error otherwise.