[][src]Function onednn_sys::dnnl_eltwise_backward_desc_init

pub unsafe extern "C" fn dnnl_eltwise_backward_desc_init(
    eltwise_desc: *mut dnnl_eltwise_desc_t,
    alg_kind: dnnl_alg_kind_t,
    diff_data_desc: *const dnnl_memory_desc_t,
    data_desc: *const dnnl_memory_desc_t,
    alpha: f32,
    beta: f32
) -> dnnl_status_t

Initializes a descriptor for eltwise backward propagation primitive.

@param eltwise_desc Output descriptor for an eltwise primitive. @param alg_kind Elementwise algorithm kind. @param diff_data_desc Diff source and diff destination memory descriptors. @param data_desc Source and destination memory descriptor. @param alpha The alpha parameter for the elementwise operation. Specific meaning depends on the algorithm. @param beta The beta parameter for the elementwise operation. Specific meaning depends on the algorithm. @returns #dnnl_success on success and a status describing the error otherwise.