b0bc08ffe8ca6ed9db7766358451a2b920c2eaeb,foolbox/attacks/iterative_projected_gradient.py,L2BasicIterativeAttack,__call__,#L2BasicIterativeAttack#Any#Any#Any#Any#Any#Any#Any#Any#Any#,389

Before Change


                 iterations=10,
                 random_start=False,
                 return_early=True):
        return super(L2BasicIterativeAttack, self).__call__(
            input_or_adv=input_or_adv, label=label, unpack=unpack,
            binary_search=binary_search,
            epsilon=epsilon,
            stepsize=stepsize,
            iterations=iterations,
            random_start=random_start,
            return_early=return_early)


class ProjectedGradientDescentAttack(
        LinfinityGradientMixin,

After Change


        del label
        del unpack

        assert epsilon > 0

        self._run(a, binary_search,
                  epsilon, stepsize, iterations,
                  random_start, return_early)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 4

Instances


Project Name: bethgelab/foolbox
Commit Name: b0bc08ffe8ca6ed9db7766358451a2b920c2eaeb
Time: 2018-06-26
Author: git@jonasrauber.de
File Name: foolbox/attacks/iterative_projected_gradient.py
Class Name: L2BasicIterativeAttack
Method Name: __call__


Project Name: bethgelab/foolbox
Commit Name: b0bc08ffe8ca6ed9db7766358451a2b920c2eaeb
Time: 2018-06-26
Author: git@jonasrauber.de
File Name: foolbox/attacks/iterative_projected_gradient.py
Class Name: RandomStartProjectedGradientDescentAttack
Method Name: __call__


Project Name: bethgelab/foolbox
Commit Name: b0bc08ffe8ca6ed9db7766358451a2b920c2eaeb
Time: 2018-06-26
Author: git@jonasrauber.de
File Name: foolbox/attacks/iterative_projected_gradient.py
Class Name: LinfinityBasicIterativeAttack
Method Name: __call__


Project Name: bethgelab/foolbox
Commit Name: b0bc08ffe8ca6ed9db7766358451a2b920c2eaeb
Time: 2018-06-26
Author: git@jonasrauber.de
File Name: foolbox/attacks/iterative_projected_gradient.py
Class Name: ProjectedGradientDescentAttack
Method Name: __call__


Project Name: bethgelab/foolbox
Commit Name: b0bc08ffe8ca6ed9db7766358451a2b920c2eaeb
Time: 2018-06-26
Author: git@jonasrauber.de
File Name: foolbox/attacks/iterative_projected_gradient.py
Class Name: L1BasicIterativeAttack
Method Name: __call__


Project Name: keras-team/keras
Commit Name: e94a6641dccda6dd7f8ad86fad82e62388548777
Time: 2021-01-06
Author: scottzhu@google.com
File Name: keras/initializers/initializers_v2.py
Class Name: RandomNormal
Method Name: __call__