bd21bb4fec8d10b257ceccc3d302abd6d5b7c7d5,kornia/augmentation/random_generator.py,,random_solarize_generator,#Any#Any#Any#Any#,618

Before Change


        (batch_size,), thresholds_bound[0].float(), thresholds_bound[1].float(), same_on_batch)

    additions_factor = _adapted_uniform(
        (batch_size,), additions_bound[0].float(), additions_bound[1].float(), same_on_batch)

    return dict(
        thresholds_factor=thresholds_factor,

After Change


        params Dict[str, torch.Tensor]: parameters to be passed for transformation.
    
    _joint_range_check(thresholds, "thresholds")
    _joint_range_check(additions, "additions")

    thresholds_factor = _adapted_uniform(
        (batch_size,), thresholds[0], thresholds[1], same_on_batch)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: arraiy/torchgeometry
Commit Name: bd21bb4fec8d10b257ceccc3d302abd6d5b7c7d5
Time: 2020-08-26
Author: sj8716643@126.com
File Name: kornia/augmentation/random_generator.py
Class Name:
Method Name: random_solarize_generator


Project Name: arraiy/torchgeometry
Commit Name: bd21bb4fec8d10b257ceccc3d302abd6d5b7c7d5
Time: 2020-08-26
Author: sj8716643@126.com
File Name: kornia/augmentation/random_generator.py
Class Name:
Method Name: random_motion_blur_generator


Project Name: arraiy/torchgeometry
Commit Name: bd21bb4fec8d10b257ceccc3d302abd6d5b7c7d5
Time: 2020-08-26
Author: sj8716643@126.com
File Name: kornia/augmentation/random_generator.py
Class Name:
Method Name: random_sharpness_generator