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

Improve transforms test codebase #2620

Merged
merged 2 commits into from
Aug 26, 2020

Conversation

vfdev-5
Copy link
Collaborator

@vfdev-5 vfdev-5 commented Aug 25, 2020

Description:

  • refactored _create_data, approxEqualTensorToPIL and compareTensorToPIL methods used by test/test_functional_tensor.py and test/test_transforms_tensor.py

- refactored compareTensorToPIL, _create_data, approxEqualTensorToPIL methods
@vfdev-5 vfdev-5 requested a review from fmassa August 25, 2020 21:16
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.

Thanks!

@fmassa fmassa merged commit be8192e into pytorch:master Aug 26, 2020
@vfdev-5 vfdev-5 deleted the vfdev-5/refactor-test-methods branch August 26, 2020 20:52
bryant1410 pushed a commit to bryant1410/vision-1 that referenced this pull request Nov 22, 2020
* Improve transforms test codebase
- refactored compareTensorToPIL, _create_data, approxEqualTensorToPIL methods

* Fixed flake8
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