Our RandomVariables which use scan cannot be used in a numpyro.plate context (see https://num.pyro.ai/en/stable/primitives.html#scan). However, we can still write reasonable looking models by using numpyro.plate for non-scanning RandomVariables and inputting the results into our vectorized scanning RandomVariables. We should have a tutorial or model to demonstrate this limitation and our workaround.
Our
RandomVariable
s which usescan
cannot be used in anumpyro.plate
context (see https://num.pyro.ai/en/stable/primitives.html#scan). However, we can still write reasonable looking models by usingnumpyro.plate
for non-scan
ningRandomVariable
s and inputting the results into our vectorizedscan
ningRandomVariable
s. We should have a tutorial or model to demonstrate this limitation and our workaround.