PyMC3 with Keras

One way to do it is adding a new regularizer:
https://keras.io/regularizers/
Which means you express the logp of the prior as a penalty term.