code: def _test_frontend_function_ignoring_uninitialized(*args, **kwargs):
      # TODO: this is a hack to get around, but not sure if it is efficient way to do it.
      where = kwargs["where"]
      if kwargs["frontend"] == "numpy":
          kwargs["where"] = True
      else:
          kwargs["where"] = None
      kwargs["test_values"] = False
      values = helpers.test_frontend_function(*args, **kwargs)
      if values is None:
          return
      ret, frontend_ret = values
      # set backend to frontend to flatten the frontend array
      frontend_config = get_frontend_config(kwargs["frontend"])
  
      # get flattened arrays from returned value
      if frontend_config.isscalar(frontend_ret):
          frontend_ret_np_flat = [np.asarray(frontend_ret)]
      else:
          if not isinstance(frontend_ret, tuple):
              frontend_ret = (frontend_ret,)
          frontend_ret_idxs = ivy.nested_argwhere(
              frontend_ret, frontend_config.is_native_array
          )
          frontend_ret_flat = ivy.multi_index_nest(
              frontend_ret, frontend_ret_idxs
          )
          frontend_ret_np_flat = [
              frontend_config.to_numpy(x) for x in frontend_ret_flat
          ]
  
      # get flattened arrays from returned value
      ret_np_flat = _flatten_frontend_return(
          ret=ret, backend=kwargs["backend_to_test"]
      )
  
      # handling where size
      where = np.asarray(where)
      if where.ndim == 0:
          where = np.array([where])
      elif where.ndim > 1:
          where = where.flatten()
      # handling ret size
  
      first_el = ret_np_flat[0]
      # change where to match the shape of the first element of ret_np_flat
      if first_el.size == 1:
          where = where[:1]
      else:
          where = np.repeat(where, first_el.size)
          where = where[: first_el.size]
          where = where.reshape(first_el.shape)
  
      ret_flat = [
          np.where(where, x, np.zeros_like(x)) for x in ret_np_flat
      ]
      frontend_ret_flat = [
          np.where(where, x, np.zeros_like(x))
          for x in frontend_ret_np_flat
      ]
      if "rtol" in kwargs:
          rtol = kwargs["rtol"]
      else:
          rtol = 1e-4
      if "atol" in kwargs:
          atol = kwargs["atol"]
      else:
          atol = 1e-6
  
      helpers.value_test(
          ret_np_flat=ret_flat,
          ret_np_from_gt_flat=frontend_ret_flat,
          rtol=rtol,
          atol=atol,
          backend=kwargs["backend_to_test"],
          ground_truth_backend=kwargs["frontend"],
      )
  
file_path: ivy/ivy_tests/test_ivy/test_frontends/test_numpy/helpers.py
imports: import numpy
  from hypothesis import strategies
  import ivy
  import ivy_tests.test_ivy.helpers
  import ivy.functional.frontends.numpy
  from ivy_tests.test_ivy.helpers.pipeline_helper import BackendHandler, get_frontend_config
  import ivy_tests.test_ivy.helpers.globals
label_desc: Use image node_id 6 for calling a global function with example usage: _test_frontend_function_ignoring_uninitialized() without return types