Closed sundyCoder closed 3 years ago
Can it be used directly on a linear layer? e.g., SpectralNorm(Linear(dim, item)
I guess it can be directly used on linear layers as well. The discriminator architecture in the models.py file itself contains this: self.fc = SpectralNorm(nn.Linear(w_g * w_g * 512, 1))
self.fc = SpectralNorm(nn.Linear(w_g * w_g * 512, 1))
Yes, that’s right!
Can it be used directly on a linear layer? e.g., SpectralNorm(Linear(dim, item)