src/transformers/models/electra/modeling_electra.py/ElectraAttention/__init__
class ElectraAttention:    def __init__(self, config, position_embedding_type=None):
        super().__init__()
        self.self = ElectraSelfAttention(config, position_embedding_type=position_embedding_type)
        self.output = ElectraSelfOutput(config)
        self.pruned_heads = set()