Skip to content

Refactor transforms and add transforms/functional.py#311

Merged
fmassa merged 3 commits intopytorch:masterfrom
alykhantejani:transforms_refactor
Nov 2, 2017
Merged

Refactor transforms and add transforms/functional.py#311
fmassa merged 3 commits intopytorch:masterfrom
alykhantejani:transforms_refactor

Conversation

@alykhantejani
Copy link
Copy Markdown
Contributor

The transforms.py file was getting quite large, and we also now have a functional interface which is not exposed in docs, or discoverable (unless you check the source code). This PR is a refactor to allow us to now do import torchvision.transforms.functional as F

@alykhantejani alykhantejani requested a review from fmassa October 29, 2017 21:17
@@ -0,0 +1 @@
from .transforms import *

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

Copy link
Copy Markdown
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.

LGTM! Thanks a lot Aly!

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