Skip to content

Conversation

@Sachapernak
Copy link
Contributor

@Sachapernak Sachapernak commented Nov 30, 2025

The code example incorrectly labels the final linear layer as a "Gaussian layer". However, fc3 is a standard fully connected layer (nn.Linear(84, 10)).

Updated the comment to "Fully connected layer" to avoid confusion.

Fixes #3677

Description

This PR updates the incorrect comment referring to a "Gaussian layer" in the neural_networks_tutorial.py and replaces it with "Fully connected layer" to match the actual implementation.

Checklist

  • The issue that is being fixed is referred in the description (see above "Fixes #ISSUE_NUMBER")
  • Only one issue is addressed in this pull request
  • Labels from the issue that this PR is fixing are added to this pull request
  • No unnecessary issues are included into this pull request.

cc @albanD @jbschlosser

The code example incorrectly labels the final linear layer as a "Gaussian layer".
However, `fc3` is a standard fully connected layer (`nn.Linear(84, 10)`).

Updated the comment to "Fully connected layer" to avoid confusion.

Fixes pytorch#3677
@pytorch-bot
Copy link

pytorch-bot bot commented Nov 30, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/tutorials/3679

Note: Links to docs will display an error until the docs builds have been completed.

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-cla meta-cla bot added the cla signed label Nov 30, 2025
@svekars svekars added the core Tutorials of any level of difficulty related to the core pytorch functionality label Dec 1, 2025
@svekars svekars merged commit c244ef9 into pytorch:main Dec 3, 2025
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla signed core Tutorials of any level of difficulty related to the core pytorch functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feedback about Neural Networks

4 participants