Variational inference over cartesian product of large sets of observations

Thanks! a and b are too large to precompute C particularly since the function I actually need to compute returns high dimensional vectors.

Also do I need to give the 2 Minibatches different seeds? It looks like by default menibatches all initialize to 42. Could that cause problems?