Is there a way to iterate over all modules of a model, let’s call it Generator, and equip all Conv2d- and ConvTranspose2d-layers with spectral normalization?
Sorry, if this has been discussed already, I couldn’t find it though…
Many thanks in advance!