code: def _group_norm_helper(draw):
      data_format = draw(st.sampled_from(["NSC", "NCS"]))
      shape = draw(
          helpers.get_shape(
              min_num_dims=2,
              max_num_dims=4,
              min_dim_size=2,
              max_dim_size=4,
          )
      )
      channel_size = shape[-1]
      group_list = [*range(1, 4)]
      group_list = list(
          filter(lambda x: (channel_size % x == 0), group_list)
      )
      num_groups = draw(st.sampled_from(group_list))
      if data_format == "NCS":
          shape = (shape[0], shape[-1], *shape[1:-1])
      x_dtype, x = draw(
          helpers.dtype_and_values(
              available_dtypes=helpers.get_dtypes(
                  "float",
              ),
              shape=shape,
              large_abs_safety_factor=50,
              small_abs_safety_factor=50,
              safety_factor_scale="log",
          )
      )
      _, offset = draw(
          helpers.dtype_and_values(
              dtype=x_dtype,
              shape=(channel_size,),
              large_abs_safety_factor=50,
              small_abs_safety_factor=50,
              safety_factor_scale="log",
          )
      )
  
      _, scale = draw(
          helpers.dtype_and_values(
              dtype=x_dtype,
              shape=(channel_size,),
              large_abs_safety_factor=50,
              small_abs_safety_factor=50,
              safety_factor_scale="log",
          )
      )
      eps = draw(helpers.floats(min_value=1e-5, max_value=0.1))
      return (
          x_dtype,
          x[0],
          num_groups,
          data_format,
          scale[0],
          offset[0],
          eps,
      )
  
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 1 for calling a global function with example usage: _group_norm_helper(draw) and returns: x_dtype,  x,  num_groups,  data_format,  scale,  offset,  eps