 < source > ( )    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. You can’t unpack a BaseOutput directly. Use the to_tuple() method to convert it to a tuple
first.  to_tuple  < source > ( )    Convert self to a tuple containing all the attributes/keys t