title: Is it possible to train a model in keras with the gradient of the loss function?
body: <p>I have a model where I know the gradient of the loss function i.e dE/dy where E is the loss function and y is the output. However, it is not integrable and there is no closed-form of the loss function. Is there a way to train the model in Keras (using tensorflow perhaps) in this case?</p>