Skip to content

Update Tensor Gradients and Jacobian Products example #2071

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
Oct 7, 2022
Merged

Conversation

malfet
Copy link
Contributor

@malfet malfet commented Oct 7, 2022

Shape of gradient argument of x.backwards method should be that of x.

Modify example, to make input tensor a 5x4 matrix and transpose it in the output

Fixes #2065

Shape of gradient argument of `x.backwars` method should be that of `x`.

Modify example, to make input tensor a 5x4 matrix and transpose it in the output

Fixes #2065
@netlify
Copy link

netlify bot commented Oct 7, 2022

Deploy Preview for pytorch-tutorials-preview ready!

Name Link
🔨 Latest commit 49b3aad
🔍 Latest deploy log https://app.netlify.com/sites/pytorch-tutorials-preview/deploys/633fc2b75b52df0009d729f0
😎 Deploy Preview https://deploy-preview-2071--pytorch-tutorials-preview.netlify.app/beginner/basics/autogradqs_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.

Copy link
Contributor

@albanD albanD left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep.

@albanD albanD merged commit a9656f2 into master Oct 7, 2022
@albanD albanD deleted the malfet-patch-1 branch October 7, 2022 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AUTOMATIC DIFFERENTIATION WITH TORCH.AUTOGRAD - Jacobian Product Tutorial Shape Confusion
3 participants