Best Way to Handle a for Loop in pymc4

You need a scan: scan – Looping in Aesara — Aesara 2.7.9+40.ge0d918074.dirty documentation

1 Like