src/transformers/models/data2vec/modeling_data2vec_vision.py/Data2VecVisionPyramidPoolingModule/forward
class Data2VecVisionPyramidPoolingModule:    def forward(self, x: torch.Tensor) -> List[torch.Tensor]:
        ppm_outs = []
        for ppm in self.blocks:
            ppm_out = ppm(x)
            upsampled_ppm_out = nn.functional.interpolate(
                ppm_out, size=x.size()[2:], mode="bilinear", align_corners=self.align_corners
            )
            ppm_outs.append(upsampled_ppm_out)
        return ppm_outs