src/transformers/models/realm/modeling_realm.py/RealmAttention/__init__
class RealmAttention:    def __init__(self, config, position_embedding_type=None):
        super().__init__()
        self.self = RealmSelfAttention(config, position_embedding_type=position_embedding_type)
        self.output = RealmSelfOutput(config)
        self.pruned_heads = set()