code: def __init__(self, *args, **kwargs):
      # NumPy will raise error if pyfunc is a cupy method
      self.__dict__["_is_numpy_pyfunc"] = False
      self.__dict__["_cupy_support"] = False
      if isinstance(args[0], _RecursiveAttr):
          self.__dict__["_is_numpy_pyfunc"] = True
          if args[0]._cupy_object:
              self.__dict__["_cupy_support"] = True
          args = (args[0]._numpy_object,) + args[1:]
      notification._dispatch_notification(np.vectorize)
      self.__dict__["vec_obj"] = np.vectorize(*args, **kwargs)
      self.__dict__["__doc__"] = self.__dict__["vec_obj"].__doc__
  
imports: import types
  import numpy
  import cupy
  from cupyx.fallback_mode import notification
label_desc: Use image node_id 1 to create a new vectorize object from inherited base classes: object with example: obj = vectorize()