Skip to content

Move code to non-executable block #2184

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
Jan 27, 2023
Merged

Conversation

kiersten-stokes
Copy link
Contributor

@kiersten-stokes kiersten-stokes commented Jan 27, 2023

Fixes #787

Moves the aforementioned code block for the Neural Network notebook into a non-executable block. I also changed the formatting of the weight calculation line, as it wasn't rendering properly in the html. See screenshots below.

Before:

HTML

Screenshot 2023-01-27 at 12 29 15 PM

Notebook

Screenshot 2023-01-27 at 12 24 24 PM

After:

HTML

Screenshot 2023-01-27 at 12 27 33 PM

Notebook

Screenshot 2023-01-27 at 12 28 17 PM

cc @suraj813 @svekars @carljparker

Signed-off-by: Kiersten Stokes <[email protected]>
@netlify
Copy link

netlify bot commented Jan 27, 2023

Deploy Preview for pytorch-tutorials-preview ready!

Name Link
🔨 Latest commit c799cb5
🔍 Latest deploy log https://app.netlify.com/sites/pytorch-tutorials-preview/deploys/63d41bef16c67e00085d90f0
😎 Deploy Preview https://deploy-preview-2184--pytorch-tutorials-preview.netlify.app/beginner/blitz/neural_networks_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.

@svekars svekars added 60_min_blitz Cleanups for the 60 min blitz tutorial:https://pytorch.org/tutorials/beginner/deep_learning_60min_b intro website Issues related to website rendering labels Jan 27, 2023
Copy link
Contributor

@svekars svekars 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!

@svekars svekars merged commit 6ae56a1 into pytorch:main Jan 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
60_min_blitz Cleanups for the 60 min blitz tutorial:https://pytorch.org/tutorials/beginner/deep_learning_60min_b cla signed intro website Issues related to website rendering
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move code into non-executable codeblock.
3 participants