Skip to content

Commit d6430ce

Browse files
author
Beat Buesser
committed
Fix style checks
Signed-off-by: Beat Buesser <[email protected]>
1 parent 706e964 commit d6430ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

art/attacks/evasion/feature_adversaries/feature_adversaries_tensorflow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def loss_fn(source_orig, source_adv, guide):
123123

124124
axis = tuple(range(1, len(source_adv.shape)))
125125
soft_constraint = tf.cast(
126-
tf.math.reduce_max(tf.abs(source_adv - source_orig), axis=axis), dtype=tf.float32
126+
tf.math.reduce_max(tf.abs(source_adv - source_orig), axis=axis), tf.float32
127127
)
128128

129129
axis = tuple(range(1, len(adv_representation.shape)))

0 commit comments

Comments
 (0)