code: def _stack_helper(draw):
      shape = draw(
          st.shared(
              helpers.get_shape(min_num_dims=1), key="values_shape"
          )
      )
      num_arrays = draw(
          st.shared(
              helpers.ints(min_value=1, max_value=3), key="num_arrays"
          )
      )
      dtype = draw(st.sampled_from(draw(helpers.get_dtypes("valid"))))
      arrays = []
      dtypes = [dtype for _ in range(num_arrays)]
  
      for _ in range(num_arrays):
          array = draw(helpers.array_values(dtype=dtype, shape=shape))
          arrays.append(np.asarray(array, dtype=dtype))
      return dtypes, arrays
  
imports: import numpy
  from hypothesis import strategies, assume
  import ivy
  import ivy_tests.test_ivy.helpers
  from ivy_tests.test_ivy.helpers import handle_test
label_desc: Use image node_id 9 for calling a global function with example usage: _stack_helper(draw) and returns: dtypes,  arrays