src/transformers/models/perceiver/modeling_perceiver.py/PerceiverClassificationPostprocessor/forward
class PerceiverClassificationPostprocessor:    def forward(self, inputs, pos: Optional[torch.Tensor] = None, modality_sizes=None) -> torch.Tensor:
        logits = self.classifier(inputs)
        return logits[:, 0, :]