-
Notifications
You must be signed in to change notification settings - Fork 7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minor cleanup of roi_align_forward_kernel_impl #3619
Conversation
I believe that the original author of the method chose to use |
I think you're right about the original intent, but IMHO the only functions that need to have a common signature are the |
Codecov Report
@@ Coverage Diff @@
## master #3619 +/- ##
=======================================
Coverage 79.69% 79.69%
=======================================
Files 105 105
Lines 9824 9824
Branches 1583 1583
=======================================
Hits 7829 7829
Misses 1517 1517
Partials 478 478
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fine with me, as we can consider this as an implementation detail.
Summary: * minor clean up * do same for ps_roialign Reviewed By: NicolasHug Differential Revision: D27706957 fbshipit-source-id: 3320466f6a8b12445f4c901460d3b6f39e6760ea Co-authored-by: Francisco Massa <fvsmassa@gmail.com>
We can directly pass
n_rois
instead of using the intermediaten_threads
andoutput_size
names