src/transformers/models/oneformer/convert_to_hf_oneformer.py/OriginalOneFormerCheckpointToOursConverter/__init__
class OriginalOneFormerCheckpointToOursConverter:    def __init__(self, original_model: nn.Module, config: OneFormerConfig):
        self.original_model = original_model
        self.config = config