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

Support sampling from model in model #13

Closed
xukai92 opened this issue Mar 6, 2017 · 3 comments
Closed

Support sampling from model in model #13

xukai92 opened this issue Mar 6, 2017 · 3 comments

Comments

@xukai92
Copy link
Member

xukai92 commented Mar 6, 2017

We should later support something like this.

@model a(...) = begin
    # code
end

@model b(...) = begin
    x ~ a(...)
    # other code
end
@yebai
Copy link
Member

yebai commented Mar 6, 2017

This is a really nice feature. I have been thinking about this; it may require some substantial work on the internals. Let's spend sometime think about how this might be designed.

@xukai92
Copy link
Member Author

xukai92 commented Apr 20, 2017

I guess the internal are good enough for us the work on this now?

@mohamed82008 mohamed82008 transferred this issue from TuringLang/Turing.jl Dec 25, 2019
@yebai
Copy link
Member

yebai commented Dec 16, 2021

Fixed by #233

@yebai yebai closed this as completed Dec 16, 2021
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