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
We have two walk_models helper functions currently defined and they are very similar: one in pymc/logprob/utils.py (from AePPL's merge) and another in pymc/pytensorf.py.
They are subtly different. The walk model in logprob.utils is basically only used for rvs_to_value_vars, which is itself only used in conditional_logp. They are both less flexible/have a specific use that assumes among other things, that we are replacing things in topological order iteratively. It may make more sense to move them to logprob/basic.py and make them internal (leading underscore), to emphasize they are not general
Description
We have two
walk_model
s helper functions currently defined and they are very similar: one inpymc/logprob/utils.py
(from AePPL's merge) and another inpymc/pytensorf.py
.pymc/pymc/logprob/utils.py
Lines 70 to 75 in a4b0581
pymc/pymc/pytensorf.py
Lines 179 to 184 in a4b0581
We can combine the two and remove one due to redundancy. Later on, we could even make it more general, depending on the use case (e.g. in #6834).
CC @ricardoV94 @shreyas3156
The text was updated successfully, but these errors were encountered: