[][src]Function onednn_sys::dnnl_post_ops_get_params_sum

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

Returns the parameters of an accumulation (sum) post-op.

@param post_ops Post-ops. @param index Index of the sum post-op. @param scale Output accumulation scaling factor. @returns #dnnl_success on success and a status describing the error otherwise. @returns #dnnl_invalid_arguments if @p index does not refer to a sum post-op.