Skip to content

Conversation

ezyang
Copy link
Contributor

@ezyang ezyang commented Mar 8, 2019

Stack:
    :white_circle:  #17813 Suppress C408 lint (don't use dict constructor)  💛
    :black_circle:  #17820 Fix lint in test_dataloader.py  💚
    :white_circle:  #17821 Fix lint in test_distributions.py  💛
    :white_circle:  #17823 Fix lint in test_jit.py  💛

Differential Revision: D14392864

Differential Revision: D14392864
Differential Version: 74816080
Copy link
Contributor

@eellison eellison left a comment

Choose a reason for hiding this comment

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

Thanks for doing this!

@ezyang ezyang mentioned this pull request Mar 8, 2019
loader = DataLoader(self.dataset, batch_size=2, collate_fn=collate_wrapper,
pin_memory=True)
for batch_ndx, sample in enumerate(loader):
for _sample in loader:
Copy link
Contributor

Choose a reason for hiding this comment

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

Minor nit here: _sample -> sample

@vishwakftw
Copy link
Contributor

@ezyang The nit seems to have broken tests on master.

@ezyang
Copy link
Contributor Author

ezyang commented Mar 11, 2019

Crap, reverting

@ezyang ezyang deleted the export-D14392864 branch May 30, 2019 15:50
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.

4 participants