You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
importjax.numpyasjnpimportjaxoptdeffun(x):
a, b=xreturn-asolver=jaxopt.LBFGSB(fun)
init=jnp.array([1.0, 0.0])
upper=jnp.array([1.0, 1.0])
lower=jnp.array([-1.0, -1.0])
result=solver.run(init, bounds=(lower, upper))
a, b=result.paramsprint(a, b)
The text was updated successfully, but these errors were encountered:
vroulet
added a commit
to vroulet/jaxopt
that referenced
this issue
Aug 4, 2023
b
isNaN
in the following snippet.The text was updated successfully, but these errors were encountered: