Make IndependentReparametrizationSampler create variables at init. Without this you cannot always save the sampler with dynamic shape (i.e. before sample has been called).
...
Fully backwards compatible: yes / no
PR checklist
[ ] The quality checks are all passing
[ ] The bug case / new feature is covered by tests
[ ] Any new features are well-documented (in docstrings or notebooks)
Related issue(s)/PRs:
Summary
Make
IndependentReparametrizationSampler
create variables at init. Without this you cannot always save the sampler with dynamic shape (i.e. before sample has been called). ...Fully backwards compatible: yes / no
PR checklist