spacing in attacks.py
@@ -132,7 +132,8 @@ class Attack(object):
name + ": " + str(value))
# x is a special placeholder we always want to have
- x = tf.placeholder(tf.float32, shape=[None]+list(x_val.shape)[1:])
+ x_shape = [None] + list(x_val.shape)[1:]
+ x = tf.placeholder(tf.float32, shape=x_shape)
# now we generate the graph that we want
x_adv = self.generate(x, **new_kwargs)
