- Notifications
You must be signed in to change notification settings - Fork36
Open
Description
Code sample in this section:https://github.com/Devinterview-io/pytorch-interview-questions?tab=readme-ov-file#code-example-autograd-in-action
x.grad is the partial derivative ofw with respect tox, which is
Thus
Likewise you can work out the value ofy.grad using the chain rule as well, and it's 72.
Metadata
Metadata
Assignees
Labels
No labels