未验证 提交 f7a834cf 编写于 作者: K Kissky 提交者: GitHub

Update 04.md

上级 77b716c2
......@@ -76,7 +76,7 @@ b = torch.tensor([6., 4.], requires_grad=True)
![](img/tex4-1.gif)
```py
Q = 3`a`3 - b**2
Q = 3*a**3 - b**2
```
......@@ -104,7 +104,7 @@ Q.backward(gradient=external_grad)
```py
# check if collected gradients are correct
print(9`a`2 == a.grad)
print(9*a**2 == a.grad)
print(-2*b == b.grad)
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册