Skip to content

Type annotations for torchvision/utils.py (#2034) #2428

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

Closed
wants to merge 1 commit into from

Conversation

fmassa
Copy link
Member

@fmassa fmassa commented Jul 8, 2020

  • type annotations for torchvision/utils.py

  • add missing annotation for make_grid

  • fix annotation for save_image

  • mirror PIL annotation for fp

* type annotations for torchvision/utils.py

* add missing annotation for make_grid

* fix annotation for save_image

* mirror PIL annotation for fp
Copy link

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@fmassa has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

facebook-github-bot pushed a commit that referenced this pull request Jul 9, 2020
Summary:
* type annotations for torchvision/utils.py

* add missing annotation for make_grid

* fix annotation for save_image

* mirror PIL annotation for fp

Pull Request resolved: #2428

Reviewed By: zhangguanheng66

Differential Revision: D22437423

Pulled By: fmassa

fbshipit-source-id: 77a46deb22e4fbf4de02f9f7d0e418c656d40a65
@fmassa
Copy link
Member Author

fmassa commented Jul 10, 2020

Merged in 496ed83

@fmassa fmassa closed this Jul 10, 2020
@fmassa fmassa deleted the import_9c387588 branch July 10, 2020 08:21
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.

3 participants