9942689f9846c59006c80718ee8db38e02ee2104,albumentations/core/transforms_interface.py,BasicTransform,__call__,#BasicTransform#Any#,52
Before Change
targets_as_params = {k: kwargs[k] for k in self.targets_as_params}
params_dependent_on_targets = self.get_params_dependent_on_targets(targets_as_params)
params.update(params_dependent_on_targets)
res = {}
for key, arg in kwargs.items():
if arg is not None:
target_function = self._get_target_function(key)
target_dependencies = {k: kwargs[k] for k in self.target_dependence.get(key, [])}
res[key] = target_function(arg, **dict(params, **target_dependencies))
else:
res[key] = None
return res
return kwargs
def __repr__(self):
state = self.get_base_init_args()
After Change
if self.applied_in_replay:
return self.apply_with_params(self.params, **kwargs)
else:
return kwargs
if (random.random() < self.p) or self.always_apply or force_apply:
params = self.get_params()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 11
Instances Project Name: albu/albumentations
Commit Name: 9942689f9846c59006c80718ee8db38e02ee2104
Time: 2019-09-27
Author: al.buslaev@gmail.com
File Name: albumentations/core/transforms_interface.py
Class Name: BasicTransform
Method Name: __call__
Project Name: albu/albumentations
Commit Name: 9942689f9846c59006c80718ee8db38e02ee2104
Time: 2019-09-27
Author: al.buslaev@gmail.com
File Name: albumentations/core/transforms_interface.py
Class Name: BasicTransform
Method Name: __call__
Project Name: ray-project/ray
Commit Name: 06af62ba91f893e34e70c3aa1f272d758cd0c8bd
Time: 2020-09-03
Author: krfricke@users.noreply.github.com
File Name: python/ray/tune/suggest/variant_generator.py
Class Name:
Method Name: _unresolved_values
Project Name: home-assistant/home-assistant
Commit Name: 001f27cdb440aae0887fa9d52b6f981962eeb1ea
Time: 2014-10-17
Author: Paulus@PaulusSchoutsen.nl
File Name: homeassistant/remote.py
Class Name:
Method Name: get_states