taki0112 / UGATIT

Official Tensorflow implementation of U-GAT-IT: Unsupervised Generative Attentional Networks with Adaptive Layer-Instance Normalization for Image-to-Image Translation (ICLR 2020)
MIT License
6.17k stars 1.04k forks source link

What does parameter 'sn' mean in function fully_connected_with_w? #46

Closed zjuzxd94 closed 5 years ago

zjuzxd94 commented 5 years ago

In the file ops.py, the prototype of function fully_connected_with_w is defined as: def fully_connected_with_w(x, use_bias=True, sn=False, reuse=False, scope='linear') what is the purpose of parameter 'sn' here?

taki0112 commented 5 years ago

for spectral_norm https://github.com/taki0112/UGATIT/blob/master/ops.py#L68