code: def _get_same_reference(res, args, kwargs, ret_args, ret_kwargs):
      """
      Returns object corresponding to res in (args, kwargs)
      from (ret_args, ret_kwargs)
      """
      for i in range(len(args)):
          if res is args[i]:
              return ret_args[i]
  
      for key in kwargs:
          if res is kwargs[key]:
              return ret_kwargs[key]
  
      return
  
imports: import types
  import numpy
  import cupy
  from cupyx.fallback_mode import notification
label_desc: Use image node_id 11 for calling a global function with example usage: _get_same_reference(res, args, kwargs, ret_args, ret_kwargs) and returns: ret_args, ret_kwargs