This comes up a couple time:
How to do sample_ppc after fitting the model that contains pm.Minibatch?
pm.Minibatch
Answer: you cannot do that directly. But there is a workaround.