src/transformers/models/mobilevit/modeling_mobilevit.py/MobileViTASPPPooling/forward
class MobileViTASPPPooling:    def forward(self, features: torch.Tensor) -> torch.Tensor:
        spatial_size = features.shape[-2:]
        features = self.global_pool(features)
        features = self.conv_1x1(features)
        features = nn.functional.interpolate(features, size=spatial_size, mode="bilinear", align_corners=False)
        return features