1. Use the function below to convert the SDXL latents (4 channels) to RGB tensors (3 channels) as explained in the [Explaining the SDXL latent space](https://huggingface.co/blog/TimothyAlexisVass/explaining-the-sdxl-latent-space) blog post.  
```py
def latents_to_rgb(latents):
weights = (
(60, -60, 25, -70),
(60,  -5, 15, -50),
(60,  10, -5, -35),
)