Fix broken MNIST and TensorDataset links in nn_tutorial - #3969
MichelleHan7 wants to merge 1 commit into
Conversation
The MNIST link to yann.lecun.com no longer resolves (HTTPS times out, HTTP returns 404), so point it to the Wikipedia article on the MNIST database. The TensorDataset link pointed to a /_modules/ source page that now returns 404, so point it to the TensorDataset entry in the torch.utils.data docs instead. Fixes pytorch#3935 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/tutorials/3969
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. |
|
Hi @MichelleHan7! Thank you for your pull request and welcome to our community. Action RequiredIn order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you. ProcessIn order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA. Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with If you have received this in error or have any questions, please contact us at cla@meta.com. Thanks! |
|
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks! |
Fixes #3935
Description
Two links in "What is torch.nn really?" are dead:
https://yann.lecun.com/exdb/mnist/index.htmltimes out over HTTPS and returns 404 over HTTP. The sentence only introduces the dataset, so the link now points to the Wikipedia article on the MNIST database.https://pytorch.org/docs/stable/_modules/torch/utils/data/dataset.html#TensorDatasetreturns 404 because the/_modules/source pages are gone. It now points to theTensorDatasetentry in thetorch.utils.datadocs.#3935 only mentions the MNIST link. I fixed the TensorDataset link here too because the PR link check tests every link in a changed file, so CI would fail with it left in. All other links in the file resolve.
If you'd rather keep a link to LeCun's original MNIST page, I can switch it to an archived copy.
Checklist
🤖 Generated with Claude Code