[−][src]Function onednn_sys::dnnl_batch_normalization_forward_desc_init
pub unsafe extern "C" fn dnnl_batch_normalization_forward_desc_init(
bnrm_desc: *mut dnnl_batch_normalization_desc_t,
prop_kind: dnnl_prop_kind_t,
data_desc: *const dnnl_memory_desc_t,
epsilon: f32,
flags: c_uint
) -> dnnl_status_t
Initializes a descriptor for a batch normalization forward propagation primitive.
@note In-place operation is supported: the dst can refer to the same memory as the src.
@param bnrm_desc Output descriptor for batch normalization primitive. @param prop_kind Propagation kind. Possible values are #dnnl_forward_training and #dnnl_forward_inference. @param data_desc Source and destination memory descriptor. @param epsilon Batch normalization epsilon parameter. @param flags Batch normalization flags (@ref dnnl_normalization_flags_t). @returns #dnnl_success on success and a status describing the error otherwise.