c96750dfbf01283bb1f2fb27ea656f73a5138c61,foolbox/attacks/ead.py,EADAttack,__call__,#EADAttack#,46
Before Change
found_advs = ep.full(
x, (N,), value=False
).bool() // found adv with the current consts
loss_at_previous_check = ep.ones(x, (1,)) * ep.inf
for iteration in range(self.steps):
// square-root learning rate decay
After Change
)
found_advs = ep.logical_or(found_advs, found_advs_iter)
print(best_advs_norms, found_advs)
upper_bounds = ep.where(found_advs, consts, upper_bounds)
lower_bounds = ep.where(found_advs, lower_bounds, consts)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: bethgelab/foolbox
Commit Name: c96750dfbf01283bb1f2fb27ea656f73a5138c61
Time: 2020-02-10
Author: 5895436+zimmerrol@users.noreply.github.com
File Name: foolbox/attacks/ead.py
Class Name: EADAttack
Method Name: __call__
Project Name: slinderman/pyhawkes
Commit Name: 279fbb4f034356c651614a8f67d94c9489e7758a
Time: 2017-04-27
Author: scott.linderman@gmail.com
File Name: examples/inference/standard_bfgs_demo.py
Class Name:
Method Name: demo
Project Name: eriklindernoren/Keras-GAN
Commit Name: 5c18953a3da18402d3fcc9ff96d1e983d48c98cb
Time: 2018-04-16
Author: eriklindernoren@gmail.com
File Name: pix2pix/pix2pix.py
Class Name: Pix2Pix
Method Name: train