How can I use Zygote to get the gradient

I suppose the only way to make sense of it is you want the df/d\alpha at a particular value of alpha.

@Yoobi In general if you make a MWE, it will make it easier to help you Please read: make it easier to help you