Skip to content

Cleanup prototype kernel signatures #6648

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

Merged
merged 3 commits into from
Sep 29, 2022
Merged

Conversation

pmeier
Copy link
Collaborator

@pmeier pmeier commented Sep 26, 2022

Addresses #6646 (comment). The second commit in the PR renames all instances of img to image on the prototype kernels. This was not discussed in the comment linked above, but goes in the same direction of aligning the kernel signatures as much as possible.

Copy link
Contributor

@datumbox datumbox left a comment

Choose a reason for hiding this comment

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

LGTM, this is going to create a bunch of conflicts on my #6636 😢

@pmeier
Copy link
Collaborator Author

pmeier commented Sep 27, 2022

You can merge first and I will fix them.

Conflicts:
	torchvision/prototype/features/_bounding_box.py
	torchvision/prototype/transforms/functional/_geometry.py
@pmeier pmeier merged commit 30b879f into pytorch:main Sep 29, 2022
@pmeier pmeier deleted the cleanup-signatures branch September 29, 2022 07:50
facebook-github-bot pushed a commit that referenced this pull request Oct 7, 2022
Summary:
* pass metadata directly after input in prototype kernels

* rename img to image

Reviewed By: datumbox

Differential Revision: D40138734

fbshipit-source-id: 1b2207f08ff0f7deffa17cee06d644169d793647
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants