src/transformers/models/ernie/modeling_ernie.py/ErnieAttention/__init__
class ErnieAttention:    def __init__(self, config, position_embedding_type=None):
        super().__init__()
        self.self = ErnieSelfAttention(config, position_embedding_type=position_embedding_type)
        self.output = ErnieSelfOutput(config)
        self.pruned_heads = set()