Where could I learn more about `apply_stack`

I was wondering where I could learn more about how NumPyro’s apply_stack primitive works on a conceptual level? And why this message based execution model is used?

Hi, see the effect handlers tutorial on the Pyro examples page for an overview. The minipyro example is also helpful.

1 Like

Thanks for these references. Now I know what these effect handlers are for, I noticed that they are discussed related to NumPyro at Effect Handlers — NumPyro documentation