AutoEncoder#
- class deepinv.models.AutoEncoder(dim_input, dim_mid=1000, dim_hid=32, residual=True)[source]#
Bases:
Denoiser
Simple fully connected autoencoder network.
Simple architecture that can be used for debugging or fast prototyping.
- Parameters:
- forward(x, sigma=None, **kwargs)[source]#
Applies denoiser \(\denoiser{x}{\sigma}\).
- Parameters:
x (torch.Tensor) – noisy input.
sigma (torch.Tensor, float) – noise level.
- Returns:
(torch.Tensor) Denoised tensor.