def validate_pred_score(
        pred_score: torch.Tensor | np.ndarray | float | None,
    ) -> torch.Tensor | None:
        """Validate the prediction scores for a batch."""
        return ImageBatchValidator.validate_pred_score(pred_score)
Validate the prediction scores for a batch.
src/anomalib/data/validators/torch/depth.py