Flux.data ? why is data undefined?

in this:
data = Iterators.repeated((), 100)

opt = ADAM(0.1)

cb = function () #callback function to observe training

display(loss_rd_dde())

using remake to re-create our prob with current parameters p

display(plot(solve(remake(prob,p=Flux.data(p)),alg,save_everystep=true),ylim=(0,6)))

end

cb()

ERROR: LoadError: UndefVarError: data not defined
Stacktrace:
[1] (::var"#5#6")()

1 Like

I also wanna know what Flux.data is replaced as.