def forward(self, x_list: list[torch.Tensor]) -> torch.Tensor:
        """Forward pass.

        Parameters
        ----------
        x_list : list of torch.Tensor
            List of tensors to be combined.

        Returns
        -------
        torch.Tensor
            Combined tensor after applying GELU activation.
        """
        x = torch.stack(x_list, dim=0).sum(dim=0)
        x = self.activation(x)
        return x
Forward pass.

        Parameters
        ----------
        x_list : list of torch.Tensor
            List of tensors to be combined.

        Returns
        -------
        torch.Tensor
            Combined tensor after applying GELU activation.
        
braindecode/models/ifnet.py