class_docstr: Base class for all model outputs as dataclass. Has a `__getitem__` that allows indexing by integer or slice (like a
  tuple) or strings (like a dictionary) that will ignore the `None` attributes. Otherwise behaves like a regular
  Python dictionary.
  
  <Tip warning={true}>
  
  You can't unpack a [`BaseOutput`] directly. Use the [`~utils.BaseOutput.to_tuple`] method to convert it to a tuple
  first.
  
  </Tip>
class_docstr_tok: ["Base","class","for","all","model","outputs","as","dataclass",".","Has","a","`","__getitem__","`","that","allows","indexing","by","integer","or","slice","(","like","a","tuple",")","or","strings","(","like","a","dictionary",")","that","will","ignore","the","`","None","`","attributes",".","Otherwise","behaves","like","a","regular","Python","dictionary",".","<","Tip","warning=","{","true","}",">","You","ca","n't","unpack","a","[","`","BaseOutput","`","]","directly",".","Use","the","[","`","~utils.BaseOutput.to_tuple","`","]","method","to","convert","it","to","a","tuple","first",".","<","\/Tip",">"]
code: def pop(self, *args, **kwargs):
      raise Exception(
          f"You cannot use ``pop`` on a {self.__class__.__name__} instance."
      )
  
file_path: llmga/llmga/diffusers/src/diffusers/utils/outputs.py
imports: from collections import OrderedDict
  from dataclasses import fields, is_dataclass
  from typing import Any, Tuple
  import numpy
  from .import_utils import is_torch_available
label_desc: Use image node_id 4 for calling the BaseOutput obj's underlying member method code with example usage: obj.pop() without return types