def visual_embeddings(self) -> list[torch.Tensor]:
        """Get model's visual embeddings.

        Returns:
            list[torch.Tensor]: Visual embeddings used for few-shot inference.

        Raises:
            RuntimeError: If visual embeddings not collected via ``setup``.
        """
        if self._visual_embeddings[0].numel() == 0:
            msg = "Visual embeddings have not been collected. Pass some reference images to the model using ``setup``."
            raise RuntimeError(msg)
        return self._visual_embeddings
Get model's visual embeddings.

        Returns:
            list[torch.Tensor]: Visual embeddings used for few-shot inference.

        Raises:
            RuntimeError: If visual embeddings not collected via ``setup``.
        
src/anomalib/models/image/winclip/torch_model.py