src/transformers/models/perceiver/modeling_perceiver.py/PerceiverClassificationDecoder/__init__
class PerceiverClassificationDecoder:    def __init__(self, config, **decoder_kwargs):
        super().__init__()

        self.num_labels = config.num_labels
        self.decoder = PerceiverBasicDecoder(
            config,
            output_num_channels=self.num_labels,
            output_index_dims=1,  # Predict a single logit array.
            **decoder_kwargs,
        )