title: Custom Regulizer in keras with a Variable input parameter
body: <p>I'm trying to add a custom regulizer in keras to my network, but in my case, the regulizer is composed from the L2 norm between the NN weights and another deterministic weight vector which changes after each weight update. I'm wondering how can such a regulizer be defined, and how can I insert the deterministic weight which the regulizer relies on at each update?</p>