If parameters are shared between auto-encoders, they should not be repeated in `params`. 
For instance, you could do:
``` Python
params = []
for ae in self.aes:
    for p in ae.get_params():
       if p not in params:
           params.append(p)
```