97bd5c775a17b4e3c2345765d26fd67678f7da2a,chainercv/transforms/bbox/crop_bbox.py,,crop_bbox,#Any#Any#Any#Any#Any#,4
Before Change
bbox = bbox[mask]
if return_param:
return bbox, {"index": np.flatnonzero(mask)}
else:
return bbox
After Change
if return_param:
index = np.flatnonzero(mask)
truncated_index = np.flatnonzero(truncated_mask)
return bbox, {
"index": index,
"truncated_index": truncated_index,
}
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: chainer/chainercv
Commit Name: 97bd5c775a17b4e3c2345765d26fd67678f7da2a
Time: 2019-01-30
Author: ktns.87@gmail.com
File Name: chainercv/transforms/bbox/crop_bbox.py
Class Name:
Method Name: crop_bbox
Project Name: scikit-learn-contrib/imbalanced-learn
Commit Name: cddf39be59c3c1231d2d4fd3b9bfc10a21e63780
Time: 2017-08-24
Author: g.lemaitre58@gmail.com
File Name: imblearn/under_sampling/prototype_selection/neighbourhood_cleaning_rule.py
Class Name: NeighbourhoodCleaningRule
Method Name: _sample
Project Name: biolab/orange3
Commit Name: 990f9586e2f72f4ab1bd4723247633aa35ca270f
Time: 2015-12-18
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/widgets/data/owdatasampler.py
Class Name:
Method Name: sample_bootstrap