pytorch-spectral-normalization-gan icon indicating copy to clipboard operation
pytorch-spectral-normalization-gan copied to clipboard

Spectral Normalization for Recurrent Layers

Open ahmed-fau opened this issue 5 years ago • 0 comments

Hi,

Just would like to know how to refactor 'spectral_normalization.py' such that it applies spectral normalization to the weights of a recurrent layer (e.g., GRU). Is it correct to change the 'name' argument of the init method of the SpectralNorm class so to indicate 'w_ih' and 'w_hh' instead of 'weight'?

Best

ahmed-fau avatar May 14 '19 14:05 ahmed-fau