code: def gather_numpy_2(self: np.ndarray, index: np.ndarray) -> np.ndarray:
      res = []
      for a, b in zip(self, index):
          res.append(a[b[0]])
      return np.array(res, dtype=self.dtype).reshape(index.shape)
  
imports: import numpy
  from onnx.reference.op_run import OpRun
label_desc: Use image node_id 1 for calling a global function with example usage: gather_numpy_2(index) and returns: np