code: def save(file, arr, allow_pickle=None):
      """Saves an array to a binary file in ``.npy`` format.
  
      Args:
          file (file or str): File or filename to save.
          arr (array_like): Array to save. It should be able to feed to
              :func:`cupy.asnumpy`.
          allow_pickle (bool): Allow saving object arrays using Python pickles.
              Reasons for disallowing pickles include security (loading pickled
              data can execute arbitrary code) and portability (pickled objects
              may not be loadable on different Python installations, for example
              if the stored objects require libraries that are not available,
              and not all pickled data is compatible between Python 2 and Python
              3).
              The default is True.
              This option is available only for NumPy 1.10 or later.
              In NumPy 1.9, this option cannot be specified (saving objects
              using pickles is always allowed).
  
      .. seealso:: :func:`numpy.save`
  
      """
      if _support_allow_pickle:
          allow_pickle = True if allow_pickle is None else allow_pickle
          numpy.save(file, cupy.asnumpy(arr), allow_pickle)
      else:
          if allow_pickle is not None:
              warnings.warn(
                  "allow_pickle option is not supported in NumPy 1.9"
              )
          numpy.save(file, cupy.asnumpy(arr))
  
file_path: cupy/cupy/_io/npz.py
imports: import warnings
  import numpy
  import cupy
label_desc: Use image node_id 2 for calling a global function with example usage: save(file, arr, allow_pickle) without return types