def forward(self, x):
        """Forward pass.

        Args:
            x (tensor): input

        Returns:
            tensor: interpolated data
        """

        x = self.interp(
            x, scale_factor=self.scale_factor, mode=self.mode, align_corners=self.align_corners
        )

        return x
Forward pass.

        Args:
            x (tensor): input

        Returns:
            tensor: interpolated data
        
ldm/modules/midas/midas/blocks.py