Use a Denoising Autoencoder (DAE) to learn clean image representations from noisy inputs in an unsupervised manner. Here is the code snippet you can refer to:

In the above code, we are using the following key points:
- 
Learns to reconstruct clean images without labeled pairs. 
- 
Trains using only noisy input as supervision. 
- 
Robust to different noise levels. 
- 
Lightweight and effective for pre-processing tasks 
Denoising autoencoders learn latent representations that filter noise from input data, hence enabling effective unsupervised image denoising using generative modeling techniques.