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

Allow custom names without NamedDist #20

Closed
mohamed82008 opened this issue Dec 25, 2019 · 2 comments
Closed

Allow custom names without NamedDist #20

mohamed82008 opened this issue Dec 25, 2019 · 2 comments

Comments

@mohamed82008
Copy link
Member

mohamed82008 commented Dec 25, 2019

The NamedDist approach is awkward for naming variables and doesn't fully support .~. It would be nice to support custom names using the more straightforward syntax @rename(x ~ dist, name) or @rename(x .~ dist, name).

@mohamed82008
Copy link
Member Author

Alternatively, we can use x ~ dist := name.

@yebai
Copy link
Member

yebai commented Mar 11, 2022

Probably fixed by TuringLang/AbstractPPL.jl#54. See also #400

@yebai yebai closed this as completed Mar 11, 2022
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