PEP8 fix attacks.py
@@ -657,10 +657,11 @@ class CarliniWagnerL2(Attack):
if params in self.attack_objects:
attack = self.attack_objects[params]
else:
- attack = CWL2(self.sess, self.model, batch_size, confidence, targeted,
- learning_rate, binary_search_steps, max_iterations,
- abort_early, initial_const, clip_min, clip_max,
- nb_classes, tuple(x_val.shape[1:]))
+ attack = CWL2(self.sess, self.model, batch_size, confidence,
+ targeted, learning_rate, binary_search_steps,
+ max_iterations, abort_early, initial_const,
+ clip_min, clip_max, nb_classes,
+ tuple(x_val.shape[1:]))
self.attack_objects[params] = attack
res = attack.attack(x_val, y_val)
