src/transformers/models/pegasus_x/configuration_pegasus_x.py/PegasusXConfig/num_attention_heads
class PegasusXConfig:    def num_attention_heads(self) -> int:
        return self.encoder_attention_heads