code: def choose(a, choices, out=None, mode="raise"):
      return a.choose(choices, out, mode)
  
file_path: cupy/cupy/_indexing/indexing.py
imports: import cupy
  from cupy._core import internal
label_desc: Use image node_id 3 for calling a global function with example usage: choose(a, choices, out, mode) and returns: a