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
If the following code is run with Zygote v0.6.43 it works fine.
using Surrogates
using Zygote
n = 10
d = 2
lb = [0.0, 0.0]
ub = [5.0, 5.0]
x = sample(n, lb, ub, SobolSample())
f = x -> x[1]^2 + x[2]^2
y = f.(x)
my_gek_ND = GEK(x, y, lb, ub)
g = x -> Zygote.gradient(my_gek_ND, x)
g((2.0, 5.0))
However, if we move to Zygote v0.6.44, it generates the following error message:
If the following code is run with Zygote v0.6.43 it works fine.
However, if we move to Zygote v0.6.44, it generates the following error message:
The text was updated successfully, but these errors were encountered: