We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6df7d2 commit 852040aCopy full SHA for 852040a
1 file changed
beginner_source/examples_autograd/polynomial_autograd.py
@@ -48,7 +48,7 @@
48
# loss.item() gets the scalar value held in the loss.
49
loss = (y_pred - y).pow(2).sum()
50
51
- # Calculare initial loss, so we can report loss relative to it
+ # Calculate initial loss, so we can report loss relative to it
52
if t==0:
53
initial_loss=loss.item()
54
0 commit comments