def validation_step(self, batch: Batch, *args, **kwargs) -> dict:
        """Validation Step of WinCLIP.

        Args:
            batch (Batch): Input batch
            *args: Variable length argument list
            **kwargs: Arbitrary keyword arguments

        Returns:
            dict: Dictionary containing the batch updated with predictions
        """
        del args, kwargs  # These variables are not used.
        predictions = self.model(batch.image)
        return batch.update(**predictions._asdict())
Validation Step of WinCLIP.

        Args:
            batch (Batch): Input batch
            *args: Variable length argument list
            **kwargs: Arbitrary keyword arguments

        Returns:
            dict: Dictionary containing the batch updated with predictions
        
src/anomalib/models/image/winclip/lightning_model.py