Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement a do operator #103

Open
elanmart opened this issue Apr 4, 2021 · 1 comment
Open

Implement a do operator #103

elanmart opened this issue Apr 4, 2021 · 1 comment

Comments

@elanmart
Copy link

elanmart commented Apr 4, 2021

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...

@rlouf
Copy link
Owner

rlouf commented Apr 4, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants