src/transformers/models/blip_2/modeling_blip_2.py/Blip2QFormerAttention/__init__
class Blip2QFormerAttention:    def __init__(self, config, is_cross_attention=False):
        super().__init__()
        self.attention = Blip2QFormerMultiHeadAttention(config, is_cross_attention)
        self.output = Blip2QFormerSelfOutput(config)
        self.pruned_heads = set()