code: def _gather_helper(draw):
      dtype_and_param = draw(
          helpers.dtype_and_values(
              available_dtypes=helpers.get_dtypes("valid"),
              min_num_dims=1,
              max_num_dims=6,
          )
      )
  
      dtype_and_indices = draw(
          helpers.dtype_and_values(
              available_dtypes=helpers.get_dtypes("valid"),
              min_num_dims=1,
              max_num_dims=6,
          )
      )
      dtype, param = dtype_and_param
      dtype, indices = dtype_and_indices
      return dtype, param, indices
  
imports: from hypothesis import strategies
  import math
  import ivy_tests.test_ivy.helpers
  from ivy_tests.test_ivy.helpers import handle_frontend_test
  from ivy_tests.test_ivy.test_functional.test_experimental.test_core.test_manipulation import _get_dtype_values_k_axes_for_rot90
  from ivy_tests.test_ivy.test_frontends.test_torch.test_miscellaneous_ops import _get_repeat_interleaves_args
label_desc: Use image node_id 7 for calling a global function with example usage: _gather_helper(draw) and returns: dtype,  param,  indices