next
This commit is contained in:
1 parent
8031d66d71
commit
6dbcf6f93b
1 file changed
+1
-1
+1
-1
@@ -46,7 +46,7 @@ class LinfPGDAttack(object):
|
||||
|
||||
self.model.zero_grad()
|
||||
|
||||
return X, eta
|
||||
return X, X - X_nat
|
||||
|
||||
def clip_tensor(X, Y, Z):
|
||||
# Clip X with Y min and Z max
|
||||
|
||||
Reference in new issue
Block a user