def forward(self, outputs: torch.Tensor, targets: torch.Tensor) -> torch.Tensor:
        """Forward propagation method for the WARP loss.

        Args:
            outputs: Iterable of tensors containing predictions for all items.
            targets: Iterable of tensors containing true labels for all items.

        Returns:
            computed loss
        """
        self._assert_equal_size(outputs, targets)
        return WARP.apply(outputs, targets, self.max_num_trials)
Forward propagation method for the WARP loss.

        Args:
            outputs: Iterable of tensors containing predictions for all items.
            targets: Iterable of tensors containing true labels for all items.

        Returns:
            computed loss
        
catalyst/contrib/losses/recsys.py