code: def _zero_dim_to_scalar_helper(draw):
      dtype = draw(
          helpers.get_dtypes(
              "valid", prune_function=False, full=False
          ).filter(lambda x: "bfloat16" not in x)
      )[0]
      shape = draw(helpers.get_shape())
      return draw(
          st.one_of(
              helpers.array_values(shape=shape, dtype=dtype),
              st.lists(
                  helpers.array_values(shape=shape, dtype=dtype),
                  min_size=1,
              ).map(tuple),
          )
      )
  
file_path: ivy/ivy_tests/test_ivy/test_frontends/test_numpy/test_func_wrapper.py
imports: from hypothesis import given, strategies
  import platform
  import ivy
  import ivy_tests.test_ivy.helpers
  from ivy.functional.frontends.numpy.func_wrapper import inputs_to_ivy_arrays, outputs_to_frontend_arrays, to_ivy_arrays_and_back, handle_numpy_dtype, from_zero_dim_arrays_to_scalar
  from ivy.functional.frontends.numpy.ndarray import ndarray
  import ivy.functional.frontends.numpy
label_desc: Use image node_id 4 for calling a global function with example usage: _zero_dim_to_scalar_helper(draw) and returns: draw