class_docstr: RecursiveAttr class to catch all attributes corresponding to numpy,
  when user calls fallback_mode. numpy is an instance of this class.
docstr: _RecursiveAttr initializer.
  
  Args:
      numpy_object (method): NumPy method.
      cupy_method (method): Corresponding CuPy method.
      array (ndarray): Acts as flag to know if _RecursiveAttr object
          is called from ``ndarray`` class. Also, acts as container for
          modifying args in case it is called from ``ndarray``.
          None otherwise.
docstr_tok: ["_RecursiveAttr","initializer",".","Args",":","numpy_object","(","method",")",":","NumPy","method",".","cupy_method","(","method",")",":","Corresponding","CuPy","method",".","array","(","ndarray",")",":","Acts","as","flag","to","know","if","_RecursiveAttr","object","is","called","from","``","ndarray","``","class",".","Also",",","acts","as","container","for","modifying","args","in","case","it","is","called","from","``","ndarray","``",".","None","otherwise","."]
code: def __init__(self, numpy_object, cupy_object, array=None):
      """
      _RecursiveAttr initializer.
  
      Args:
          numpy_object (method): NumPy method.
          cupy_method (method): Corresponding CuPy method.
          array (ndarray): Acts as flag to know if _RecursiveAttr object
              is called from ``ndarray`` class. Also, acts as container for
              modifying args in case it is called from ``ndarray``.
              None otherwise.
      """
  
      self._numpy_object = numpy_object
      self._cupy_object = cupy_object
      self._fallback_array = array
  
imports: import types
  import numpy
  import cupy
  from cupyx.fallback_mode import notification
label_desc: Use image node_id 1 to create a new _RecursiveAttr object from inherited base classes: object with example: obj = _RecursiveAttr(numpy_object, cupy_object, array)