2f1905529d25e62179850aa222f65ed685ff682f,foolbox/ext/native/models/base.py,TransformBoundsWrapper,__call__,#TransformBoundsWrapper#Any#,43
Before Change
return self._bounds
def __call__(self, inputs):
inputs, restore = wrap(inputs)
x = inputs
x = self._preprocess(x)
x = self._model.__call__(x)
After Change
def __call__(self, inputs: T) -> T:
x, restore_type = ep.astensor_(inputs)
y = self._preprocess(x)
z = self._model(y)
return restore_type(z)
def transform_bounds(self, bounds: Bounds, inplace=False) -> Model:
if inplace:
self._bounds = bounds
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances
Project Name: bethgelab/foolbox
Commit Name: 2f1905529d25e62179850aa222f65ed685ff682f
Time: 2020-01-31
Author: git@jonasrauber.de
File Name: foolbox/ext/native/models/base.py
Class Name: TransformBoundsWrapper
Method Name: __call__
Project Name: bethgelab/foolbox
Commit Name: 80cfb0e5f889c65a972ebde6c6dae4278b5e28c1
Time: 2020-02-14
Author: git@jonasrauber.de
File Name: foolbox/attacks/base.py
Class Name: MinimizationAttack
Method Name: __call__
Project Name: bethgelab/foolbox
Commit Name: 2f1905529d25e62179850aa222f65ed685ff682f
Time: 2020-01-31
Author: git@jonasrauber.de
File Name: foolbox/ext/native/attacks/inversion.py
Class Name: InversionAttack
Method Name: __call__
Project Name: bethgelab/foolbox
Commit Name: 2f1905529d25e62179850aa222f65ed685ff682f
Time: 2020-01-31
Author: git@jonasrauber.de
File Name: foolbox/ext/native/models/foolbox.py
Class Name: Foolbox2Model
Method Name: __call__