Code examples missing in MaskedTensor Overview tutorial
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 9.3k
- Forks
- 4.4k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 4
Description
📚 The doc issue
Apologies in advance if the tutorials section of the docs has a separate issue tracker.
Currently the code examples in the MaskedTensor Overview tutorial are not being rendered or are missing:
This also seems to be an issue on the Sparsity page and the Advanced Semantics page:
Copying/pasting the code block also does not reveal any hidden information, so this may not just be a rendering bug and perhaps the underlying data is missing.
Suggest a potential alternative/fix
I'm able to view versioned files in the API docs, but I'm not sure if there's a way to view old versions of tutorial documents.
cc @svekars @sekyondaMeta @AlannaBurke
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting the MaskedTensor Overview, Sparsity, and Advanced Semantics tutorial pages linked in the report, then trace how their code examples are sourced and rendered. Compare the rendered pages with the tutorial content and verify that the examples appear correctly after the documentation build; the issue is resolved when all three pages display their code blocks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, pytorch
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100