code: def test_batch_norm(
      *, data, training, test_flags, backend_fw, fn_name, on_device
  ):
      (
          x_dtype,
          x,
          mean,
          variance,
          offset,
          scale,
          eps,
          momentum,
          data_format,
      ) = data
      helpers.test_function(
          backend_to_test=backend_fw,
          test_flags=test_flags,
          fn_name=fn_name,
          on_device=on_device,
          xs_grad_idxs=[[0, 0]],
          rtol_=1e-2,
          atol_=1e-2,
          input_dtypes=x_dtype,
          x=x,
          mean=mean,
          variance=variance,
          scale=scale,
          offset=offset,
          eps=eps,
          training=training,
          momentum=momentum,
          data_format=data_format,
      )
  
file_path: ivy/ivy_tests/test_ivy/test_functional/test_experimental/test_nn/test_norms.py
imports: from hypothesis import strategies
  import ivy_tests.test_ivy.helpers
  from ivy_tests.test_ivy.helpers import handle_test
  import ivy
label_desc: Use image node_id 3 for calling a global function with example usage: test_batch_norm() without return types