Skip to content
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

PSROIAlign + Dispatcher + Autocast + Code Cleanup #2928

Merged
merged 6 commits into from
Oct 30, 2020

Conversation

datumbox
Copy link
Contributor

@datumbox datumbox commented Oct 28, 2020

part of #2797 and #2796

Implements Dispatcher + Autocast for PSROIAlign.

I'm also doing some clean up on the original code such as:

  • Remove primitive const declaration from method names.
  • Using references when possible.

- Remove primitive const declaration from method names.
- Using references when possible.
- Sync naming of internal methods with other ops.
@datumbox datumbox requested a review from fmassa October 28, 2020 18:31
@codecov
Copy link

codecov bot commented Oct 29, 2020

Codecov Report

Merging #2928 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2928   +/-   ##
=======================================
  Coverage   73.41%   73.41%           
=======================================
  Files          99       99           
  Lines        8801     8801           
  Branches     1389     1389           
=======================================
  Hits         6461     6461           
  Misses       1915     1915           
  Partials      425      425           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1fe1e11...ea8a36c. Read the comment docs.

@datumbox datumbox changed the title [WIP] PSROIAlign code cleanup PSROIAlign + Dispatcher + Autocast + Code Cleanup Oct 30, 2020
Copy link
Member

@fmassa fmassa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks a lot!

torchvision/csrc/PSROIAlign.h Show resolved Hide resolved
@fmassa fmassa merged commit b06e43d into pytorch:master Oct 30, 2020
bryant1410 pushed a commit to bryant1410/vision-1 that referenced this pull request Nov 22, 2020
* Fixing types.

* Dispatcher + Autocast.

* + Autograd.

* Clean up and refactor PSROIAlign implementation:
- Remove primitive const declaration from method names.
- Using references when possible.
- Sync naming of internal methods with other ops.

* Restoring names of internal methods to avoid conflicts.

* Restore include headers.
vfdev-5 pushed a commit to Quansight/vision that referenced this pull request Dec 4, 2020
* Fixing types.

* Dispatcher + Autocast.

* + Autograd.

* Clean up and refactor PSROIAlign implementation:
- Remove primitive const declaration from method names.
- Using references when possible.
- Sync naming of internal methods with other ops.

* Restoring names of internal methods to avoid conflicts.

* Restore include headers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants