code: def _get_index_combos(idx):
      return [
          dict["arr_fn"](idx, dtype=dict["dtype"])
          for dict in testing.product(
              {
                  "arr_fn": [numpy.array, cupy.array],
                  "dtype": [numpy.int32, numpy.int64],
              }
          )
      ]
  
imports: import functools
  import itertools
  import numpy
  import pytest
  import cupy
  import cupyx
  from cupy import testing
  from cupy.cuda import runtime
  from cupyx.scipy import sparse
label_desc: Use image node_id 1 for calling a global function with example usage: _get_index_combos(idx) and returns: unknown