def forward(self, x):
        """Forward pass.
        Args:
            x (tensor): input
        Returns:
            tensor: interpolated data
        """

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

        return x
Forward pass.
        Args:
            x (tensor): input
        Returns:
            tensor: interpolated data
        
pg_modules/blocks.py