1c0886a3d5217af5e33ea570604997cad9e6e907,gluoncv/model_zoo/rpn/proposal.py,RPNProposal,hybrid_forward,#RPNProposal#Any#Any#Any#Any#Any#,51

Before Change


            //    img, axes=(2)).max().reshape((1, 1, 1))
            // invalid = (axmin < 0) + (aymin < 0) + F.broadcast_greater(axmax, wrange) + \
            //    F.broadcast_greater(aymax, hrange)
            score = F.where(invalid, F.zeros_like(invalid), score)
            invalid = F.repeat(invalid, axis=-1, repeats=4)
            roi = F.where(invalid, F.ones_like(invalid) * -1, roi)

After Change


            // invalid = (axmin < 0) + (aymin < 0) + F.broadcast_greater(axmax, wrange) + \
            //    F.broadcast_greater(aymax, hrange)
            // avoid invalid anchors suppress anchors with 0 confidence
            score = F.where(invalid, F.ones_like(invalid) * -1, score)
            invalid = F.repeat(invalid, axis=-1, repeats=4)
            roi = F.where(invalid, F.ones_like(invalid) * -1, roi)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: dmlc/gluon-cv
Commit Name: 1c0886a3d5217af5e33ea570604997cad9e6e907
Time: 2018-08-03
Author: 13162287+ijkguo@users.noreply.github.com
File Name: gluoncv/model_zoo/rpn/proposal.py
Class Name: RPNProposal
Method Name: hybrid_forward


Project Name: NifTK/NiftyNet
Commit Name: 651f0ca63fc948c5b76a2ecfd9ee6bdfe60b0636
Time: 2017-08-21
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/engine/image_window_buffer.py
Class Name: InputBatchQueueRunner
Method Name: _push


Project Name: rodluger/starry
Commit Name: b402de4f95cfe1989da273029b5ae77dd7ec723d
Time: 2019-05-09
Author: rodluger@gmail.com
File Name: starry/Map/bases/ylm.py
Class Name: YlmBase
Method Name: X