Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check that image pixels are within [0.0, 1.0] bounds at the beginning…
… of PGD attack (#498) * Check that image pixels are within [0.0, 1.0] bounds at the beginning of PGD attack * Fix PEP8 indentation * Revert "Fix PEP8 indentation" This reverts commit a85fe56. * Correctly fix pep8 * Only validate inputs when using default project_perturbation * Add quick test that SPSA attack works correctly
- Loading branch information
1 parent
a6e4e7b
commit e309fc4
Showing
3 changed files
with
73 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters