code: def _get_reduce_func(dtype):
      if dtype == "bool":
          return st.sampled_from([ivy.logical_and, ivy.logical_or])
      else:
          return st.sampled_from(
              [ivy.add, ivy.maximum, ivy.minimum, ivy.multiply]
          )
  
imports: import numpy
  import torch
  from hypothesis import strategies, assume
  import ivy
  import ivy_tests.test_ivy.helpers
  from ivy_tests.test_ivy.helpers import handle_test, BackendHandler
label_desc: Use image node_id 1 for calling a global function with example usage: _get_reduce_func(dtype) and returns: st, st