I thought I would open an issue to follow up on #1 (comment) , even though I'm not sure if I would be able to contribute a PR.
@rlouf Do I understand correctly that you wouldn't like to modify the model's graph, but instead partially apply the argument to target functions?
I can see how that would work for mcx.generative_function (posterior sampling), but for example the model.sample_joint function does not take any arguments, so we couldn't use the partial application approach there...
I thought I would open an issue to follow up on #1 (comment) , even though I'm not sure if I would be able to contribute a PR.
@rlouf Do I understand correctly that you wouldn't like to modify the model's graph, but instead partially apply the argument to target functions?
I can see how that would work for
mcx.generative_function(posterior sampling), but for example themodel.sample_jointfunction does not take any arguments, so we couldn't use the partial application approach there...