class_docstr: Wrapper around cupy.ndarray
  Supports cupy.ndarray.__init__ as well as,
  gets initialized with a cupy ndarray.
docstr: Updates _cupy_array from _numpy_array.
  To be executed before calling cupy function.
docstr_tok: ["Updates","_cupy_array","from","_numpy_array",".","To","be","executed","before","calling","cupy","function","."]
code: def _update_cupy_array(self):
      """
      Updates _cupy_array from _numpy_array.
      To be executed before calling cupy function.
      """
      base = self.base
  
      if base is None:
          if self._remember_numpy:
              if self._cupy_array is None:
                  self._cupy_array = cp.array(self._numpy_array)
              else:
                  self._cupy_array[:] = self._numpy_array
      else:
          if base._remember_numpy:
              base._update_cupy_array()
  
imports: import types
  import numpy
  import cupy
  from cupyx.fallback_mode import notification
label_desc: Use image node_id 10 for calling the ndarray obj's underlying member method code with example usage: obj._update_cupy_array() without return types