-
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
port pad, resized_crop and affine in test_functional_tensor to pytest #3974
Conversation
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.
Thanks a lot @saswatpp , excellent work on test_affine! You made a lot of sensible choices. I made a few minor comments but this looks great already
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.
N.I.C.E
Thanks a lot @saswatpp !
…nsor to pytest (#3974) Reviewed By: NicolasHug Differential Revision: D29027355 fbshipit-source-id: fb8f8d30b2fcb99c028073b8d26e9975369403e0
Refactored the following tests to
pytest
in the file test/test/functional_tensor.py mentioned in the issue #3956Group B2 :
test_pad
-- parametrized device,dt,pad,configtest_resized_crop
-parametrized device, modeGroup C :
TestAffine
test_batches
test_warnings
@NicolasHug, this one was definitely tricky as you mentioned and I hope the above design makes sense :)