We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 615085c commit fc6089bCopy full SHA for fc6089b
beginner_source/examples_autograd/polynomial_autograd.py
@@ -39,6 +39,7 @@
39
c = torch.randn((), dtype=dtype, requires_grad=True)
40
d = torch.randn((), dtype=dtype, requires_grad=True)
41
42
+initial_loss = 1.
43
learning_rate = 1e-5
44
for t in range(5000):
45
# Forward pass: compute predicted y using operations on Tensors.
0 commit comments