def configure_pre_processor(cls, image_size: tuple[int, int] | None = None) -> PreProcessor:
        """Configure the default pre-processor used by the model.

        Args:
            image_size (tuple[int, int] | None, optional): Not used as WinCLIP has fixed
                input size. Defaults to ``None``.

        Returns:
            PreProcessor: Configured pre-processor with CLIP-specific transforms
        """
        if image_size is not None:
            logger.warning("Image size is not used in WinCLIP. The input image size is determined by the model.")

        transform = Compose([
            Resize((240, 240), antialias=True, interpolation=InterpolationMode.BICUBIC),
            Normalize(mean=(0.48145466, 0.4578275, 0.40821073), std=(0.26862954, 0.26130258, 0.27577711)),
        ])
        return PreProcessor(transform=transform)
Configure the default pre-processor used by the model.

        Args:
            image_size (tuple[int, int] | None, optional): Not used as WinCLIP has fixed
                input size. Defaults to ``None``.

        Returns:
            PreProcessor: Configured pre-processor with CLIP-specific transforms
        
src/anomalib/models/image/winclip/lightning_model.py