src/transformers/models/clipseg/modeling_clipseg.py/CLIPSegImageSegmentationOutput/to_tuple
class CLIPSegImageSegmentationOutput:    def to_tuple(self) -> Tuple[Any]:
        return tuple(
            self[k] if k not in ["vision_model_output", "decoder_output"] else getattr(self, k).to_tuple()
            for k in self.keys()
        )