Skip to content

Commit

Permalink
fix small bug in gp regression example
Browse files Browse the repository at this point in the history
  • Loading branch information
hjmshi committed Dec 1, 2018
1 parent 7528c89 commit 139fb18
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/Gaussian_Processes/gp_regression.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,9 @@ def closure():
return loss

loss = closure()
loss.backward()

training_iter = 5
training_iter = 10
for i in range(training_iter):

# perform step and update curvature
Expand Down

0 comments on commit 139fb18

Please sign in to comment.