cleverhans-lab / cleverhans

An adversarial example library for constructing attacks, building defenses, and benchmarking both
MIT License
6.21k stars 1.39k forks source link

use torch builtin arctanh method #1212

Closed redwrasse closed 3 years ago

redwrasse commented 3 years ago

use torch builtin arctanh method in torch implementation of carlini-wagner_l2

jonasguan commented 3 years ago

Lgtm, thanks @redwrasse !