Skip to content

Conversation

pmeier
Copy link
Contributor

@pmeier pmeier commented Sep 9, 2022

Per title. The new module prototype_common_utils.py now contains all functions for feature creation, comparison. Plus, I've unified ArgsKwargs from test_prototype_transforms_consistency.py with SampleInput from test_prototype_transforms_functionals.py.

I've done this in preparation for #5879, but this is a good change whether or not we go for the other PR in the end. With this we have all common utilities in one place rather than scattered and accidentally reinventing the wheel.

Copy link
Contributor

@vfdev-5 vfdev-5 left a comment

Choose a reason for hiding this comment

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

Looks ok to me, thanks @pmeier

@pmeier pmeier merged commit 8acf1ca into pytorch:main Sep 9, 2022
@pmeier pmeier deleted the cleanup-proto-transform-tests branch September 9, 2022 10:13
facebook-github-bot pushed a commit that referenced this pull request Sep 12, 2022
Reviewed By: YosuaMichael

Differential Revision: D39426992

fbshipit-source-id: 3cb21ec8f82b5ccbd5184dbbed62fd07c84f65cd
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