[][src]Function onednn_sys::dnnl_logsoftmax_backward_desc_init

pub unsafe extern "C" fn dnnl_logsoftmax_backward_desc_init(
    logsoftmax_desc: *mut dnnl_logsoftmax_desc_t,
    diff_data_desc: *const dnnl_memory_desc_t,
    data_desc: *const dnnl_memory_desc_t,
    logsoftmax_axis: c_int
) -> dnnl_status_t

Initializes a descriptor for logsoftmax backward propagation primitive.

@param logsoftmax_desc Output descriptor for a logsoftmax primitive. @param diff_data_desc Diff source and diff destination memory descriptors. @param data_desc Destination memory descriptor. @param logsoftmax_axis Axis over which softmax is computed. @returns #dnnl_success on success and a status describing the error otherwise.