You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 17, 2025. It is now read-only.
The computed logp is only correct when loc is of size==2.
This might be even more complicated if the y_base_rv inputs are themselves variable (meaning it may itself have not a fixed size)
I see two ways we could deal with this:
Add a shape assert for y_base_rv.shape == y_val.shape in the returned logprob
Ignore the situation and put the onus on the users to specify correctly sized variables for derived logprobs
Both #26 and #22 raise the question of how to deal with automatic RVs whose value_variable results from an intermediate broadcast of the base RV
The computed logp is only correct when
locis ofsize==2.This might be even more complicated if the
y_base_rvinputs are themselves variable (meaning it may itself have not a fixed size)I see two ways we could deal with this:
y_base_rv.shape == y_val.shapein the returned logprob