cleverhans
cleverhans copied to clipboard
Add unit tests for fgm
Addresses #1038. Lets get tests for fgm ready first. If this is okay with the community, I will keep updating those for PGD.
Some questions:
- Do I have to modify
.travis.yml
to trigger the tests? Other codes are tested in TF1.X, I'm afraid that we have to install another version to test TF2.0. -
optimize_linear
is currently infast_gradient_method.py
but for PyTorch version, it is split out toutils.py
. Maybe we have to make it consistent.