Skip to content

Commit

Permalink
Update cw.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Harry24k committed Dec 10, 2020
1 parent a3fd4ab commit 3613a1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchattacks/attacks/cw.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class CW(Attack):
- output: :math:`(N, C, H, W)`.
Examples::
>>> attack = torchattacks.CW(model, targeted=False, c=1e-4, kappa=0, steps=1000, lr=0.01)
>>> attack = torchattacks.CW(model, c=1e-4, kappa=0, steps=1000, lr=0.01)
>>> adv_images = attack(images, labels)
.. note:: NOT IMPLEMENTED methods in the paper due to time consuming.
Expand Down

0 comments on commit 3613a1a

Please sign in to comment.