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 1f1dc8a commit 5d0f3d2Copy full SHA for 5d0f3d2
examples/functional_example.py
@@ -25,6 +25,7 @@ def main():
25
x = torch.tensor([-0.5, 3.0])
26
# using quadratic line search
27
x_opt, hist = optimizer(f, x, opt_method=method, ls_method="quad_search")
28
+ print(f"{method}: {hist.message}")
29
histories.append(hist)
30
31
# ---------------------------------------------------------------------------------
0 commit comments