-
Notifications
You must be signed in to change notification settings - Fork 7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add mode to ToPILImage constructor (#300)
* add assert for byte tensor to_pil_image * add mode param to ToPILImage * add some more tests * fix formatiing on error messages * added tests for to_pil_image with mode param * flake8 fixes
- Loading branch information
1 parent
005adfd
commit 901c1ad
Showing
2 changed files
with
155 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters