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

Add a function to change the scan order of the sampling steps returned by construct_sampler #84

Open
rlouf opened this issue Nov 29, 2022 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed sampler steps

Comments

@rlouf
Copy link
Member

rlouf commented Nov 29, 2022

The order in which the sampling steps are chained together can influence the sampling results, we should thus allow users to change the scan order of the samplers we return.

After #76 it will be possible to inspect the sampler graph and identify the sampling steps according to their type. We can then rewire the graphs e.g. as follows:

More generally, we will need to write a series of operators that act on samplers: we may want to change the scan order, randomize the scan order, merge two samplers (e.g. with different scan orders for symmetric scan), vectorize the sampler, draw several samples using scan, etc. Related to #80.

@rlouf rlouf added enhancement New feature or request help wanted Extra attention is needed sampler steps labels Nov 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed sampler steps
Projects
None yet
Development

No branches or pull requests

1 participant