In this (helpful!) post,
The (zygote) gradient call is
g = gradient(model -> mse(model.(x),y), model)
I tried instead doing
g = gradient(() -> mse(model.(x),y), model)
and it did not work.
What are the arguments to gradient supposed to be?
Does not seem to be specified in the documentation.