This commit is contained in:
Hiroshi Doyu 2025-02-03 13:00:28 +00:00 committed by GitHub
commit b9c14fe750
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1937,7 +1937,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Once we have have defined those functions, we can use them to write the backward pass. Since each gradient is automatically populated in the right tensor, we don't need to store the results of those `_grad` functions anywhere—we just need to execute them in the reverse order of the forward pass, to make sure that in each function `out.g` exists:"
"Once we have defined those functions, we can use them to write the backward pass. Since each gradient is automatically populated in the right tensor, we don't need to store the results of those `_grad` functions anywhere—we just need to execute them in the reverse order of the forward pass, to make sure that in each function `out.g` exists:"
]
},
{