class_docstr: Represents the optimization result.
      
code: def __getattr__(self, name):
      try:
          return self[name]
      except KeyError as e:
          raise AttributeError(name) from e
  
imports: import cupy
label_desc: Use image node_id 1 for calling the OptimizeResult obj's underlying member method code with example usage: obj.__getattr__(name) and returns: self