src/transformers/models/blip_2/modeling_blip_2.py/Blip2QFormerMultiHeadAttention/get_attn_gradients
class Blip2QFormerMultiHeadAttention:    def get_attn_gradients(self):
        return self.attn_gradients