Skip to content

Modernize cifar10_tutorial #2086

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

Merged
merged 1 commit into from
Oct 18, 2022
Merged

Modernize cifar10_tutorial #2086

merged 1 commit into from
Oct 18, 2022

Conversation

malfet
Copy link
Contributor

@malfet malfet commented Oct 18, 2022

Use next(iter) rather than iter.next(), which is more Python-3 friendly, that makes tutorial compatible with upcoming 1.13 release, that contains pytorch/pytorch#78594

Use `next(iter)` rather than `iter.next()`, which is more Python-3 friendly
@netlify
Copy link

netlify bot commented Oct 18, 2022

Deploy Preview for pytorch-tutorials-preview ready!

Name Link
🔨 Latest commit 5a87481
🔍 Latest deploy log https://app.netlify.com/sites/pytorch-tutorials-preview/deploys/634f0e6bf963000008da86db
😎 Deploy Preview https://deploy-preview-2086--pytorch-tutorials-preview.netlify.app/beginner/blitz/cifar10_tutorial
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@malfet malfet merged commit 998c026 into master Oct 18, 2022
@malfet malfet deleted the malfet-patch-1 branch October 18, 2022 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants