Best Practices for Priors and Flattened 3D Matrices

The batched version (shape=10) can be considerably faster as it produces vectorized logp and gradient code so it’s strongly suggested over separating the terms.

It’s not just a convenience

2 Likes