[−][src]Function onednn_sys::dnnl_primitive_attr_set_post_ops
pub unsafe extern "C" fn dnnl_primitive_attr_set_post_ops(
attr: dnnl_primitive_attr_t,
post_ops: const_dnnl_post_ops_t
) -> dnnl_status_t
Sets primitive attributes post-ops.
@note There is no way to check whether the post-ops would be supported by the target primitive. Any error will be reported by the dnnl_primitive_desc_create() function call.
@param attr Primitive attributes. @param post_ops Post-ops to set. @returns #dnnl_success on success and a status describing the error otherwise.