src/transformers/models/perceiver/modeling_perceiver.py/PerceiverOneHotPreprocessor/num_channels
class PerceiverOneHotPreprocessor:    def num_channels(self) -> int:
        return self.config.num_labels