tutorials icon indicating copy to clipboard operation
tutorials copied to clipboard

PyTorch tutorials.

Results 299 tutorials issues
Sort by recently updated
recently updated
newest added

Reorder optimizer.zero_grad(), loss.backward(), and optimizer.step() to match the recommended best practice documented in the tutorial. Fixes #3507 ## Description ## Checklist - [ ] The issue that is being fixed...

cla signed

Addresses feedback that the 3rd-degree polynomial fit for sin(x) over [-π, π] may be confusing for beginners. Added educational notes explaining that: - The example demonstrates gradient descent mechanics, not...

cla signed

scipy is not used in the tutorial and causes compatibility issues with torch.compile, resulting in InternalTorchDynamoError when users try to follow the tutorial. The error occurs because scipy's internal implementation...

cla signed

…n recipe The dynamic_quantization.py recipe file does not exist in the repository, causing a 404 error when accessing the URL: https://pytorch.org/tutorials/recipes/recipes/dynamic_quantization.html Removed references to this missing recipe from: - recipes_index.rst...

cla signed
incorrect link

## Description This PR improves the documentation and comments related to the learning rate scheduler (StepLR) in the transfer_learning_tutorial.py script. ### Changes made: - Added clarification about the recommended order:...

cla signed

Addresses feedback that parametrization is not a well-known topic. Added introductory section that explains: - What parametrizations are (transformations applied to parameters) - Why they are needed (enforcing constraints like...

cla signed

Fixes #ISSUE_NUMBER ## Description ## Checklist - [x] The issue that is being fixed is referred in the description (see above "Fixes #ISSUE_NUMBER") - [x] Only one issue is addressed...

- Added clear section headers for both splitting options - Option 1: Manual Model Splitting - Option 2: Tracer-based Model Splitting - Fixed typo: 'before the before' -> 'before the'...

cla signed

Add plt.axis('off') before plt.show() to ensure the plot displays correctly in environments like Windows 11 with WSL and PyCharm Pro. This is a known matplotlib issue where an explicit axis...

cla signed

Fixes #3622 ## Description Suggestion for tweaking the text containing a possible minor inaccuracy. The basic [Build the Neural Network](https://docs.pytorch.org/tutorials/beginner/basics/buildmodel_tutorial.html) tutorial has the text: Calling the model on the input...

cla signed