src/transformers/models/data2vec/modeling_data2vec_vision.py/Data2VecVisionAttention/__init__
class Data2VecVisionAttention:    def __init__(self, config: Data2VecVisionConfig, window_size: Optional[tuple] = None) -> None:
        super().__init__()
        self.attention = Data2VecVisionSelfAttention(config, window_size=window_size)
        self.output = Data2VecVisionSelfOutput(config)
        self.pruned_heads = set()