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

        Parameters
        ----------
        x : torch.Tensor
            Input data.

        Returns
        -------
        tuple of torch. Tensor
            Reconstructed input and random Fourier features.
        """
        x = self.encoder(x)
        rff_features = self.rff(x)
        x = self.decoder(x)
        return x, rff_features
Forward pass through the model.

        Parameters
        ----------
        x : torch.Tensor
            Input data.

        Returns
        -------
        tuple of torch. Tensor
            Reconstructed input and random Fourier features.
        
pyod/models/ae1svm.py