4cc818ed198714a2f77927657df9ebfe9a2af49e,chainercv/functions/ps_roi_average_align_2d.py,PSROIAverageAlign2D,forward_cpu,#PSROIAverageAlign2D#Any#,154

Before Change


            bin_size_h = 1. * roi_height / pooled_height
            bin_size_w = 1. * roi_width / pooled_width

            gh = np.floor(float(ph) * group_size / pooled_height)
            gw = np.floor(float(pw) * group_size / pooled_width)
            gh = int(min(max(gh, 0), group_size - 1))
            gw = int(min(max(gw, 0), group_size - 1))

After Change


            bin_size_w = roi_width / pooled_width

            gh = int(np.floor(ph * group_size / pooled_height))
            gw = int(np.floor(pw * group_size / pooled_width))
            gh = min(max(gh, 0), group_size - 1)
            gw = min(max(gw, 0), group_size - 1)
            c = (ctop * group_size + gh) * group_size + gw
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: chainer/chainercv
Commit Name: 4cc818ed198714a2f77927657df9ebfe9a2af49e
Time: 2019-02-18
Author: shingogo@hotmail.co.jp
File Name: chainercv/functions/ps_roi_average_align_2d.py
Class Name: PSROIAverageAlign2D
Method Name: forward_cpu


Project Name: sao-eht/eat
Commit Name: 521a9179eea95baa08aa13c911b8bb6228401f42
Time: 2018-03-12
Author: maciek.wielgus@gmail.com
File Name: eat/apcal/apcal.py
Class Name:
Method Name: ALMAtime2STANDARDtime


Project Name: chainer/chainercv
Commit Name: 4cc818ed198714a2f77927657df9ebfe9a2af49e
Time: 2019-02-18
Author: shingogo@hotmail.co.jp
File Name: chainercv/functions/ps_roi_average_align_2d.py
Class Name: PSROIAverageAlign2D
Method Name: backward_cpu