code: def _to_cupy(array):
      assert cupy is not None
      # Convert to cupy.ndarray on the same device as source array
      return chainerx._to_cupy(array)
  
file_path: chainer/chainerx/_fallback_workarounds.py
imports: import numpy
  import chainerx
label_desc: Use image node_id 3 for calling a global function with example usage: _to_cupy(array) and returns: chainerx