class_docstr: Dynamic wrapper for an instance to convert method output to gs.array.
code: def __getattr__(self, attr_name):
      if attr_name in self._dict:
          return self._dict[attr_name]
  
      attr = getattr(self._instance, attr_name)
      if isinstance(attr, MethodType):
          attr = _convert_np_output(attr)
          self._dict[attr_name] = attr
  
      return attr
  
file_path: geomstats/geomstats/numerics/_common.py
imports: import functools
  from types import MethodType
  import numpy
  from scipy.interpolate import PPoly
  import geomstats.backend
label_desc: Use image node_id 2 for calling the _InstanceConvertOutputWrapper obj's underlying member method code with example usage: obj.__getattr__(attr_name) and returns: attr, self