Skip to content
This repository was archived by the owner on Jul 7, 2023. It is now read-only.

Commit ca489db

Browse files
authored
clean code
1 parent 85ebd36 commit ca489db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tensor2tensor/models/cycle_gan.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
def discriminator(x, compress, hparams, name, reuse=None):
3434
with tf.variable_scope(name, reuse=reuse):
35-
x = tf.stop_gradient(2 * x) - x # Reverse gradient. ########## why ########
35+
x = tf.stop_gradient(2 * x) - x # Reverse gradient.
3636
if compress:
3737
x = transformer_vae.compress(x, None, False, hparams, "compress")
3838
else:

0 commit comments

Comments
 (0)