2 ms·
I think you’re overgeneralizing in your control flow discussion. I also don’t understand your f example with (x, y, noise) if you fix x and the return value, y
by mccoyb 3y ago
I think you’re overgeneralizing in your control flow discussion.
I also don’t understand your f example with (x, y, noise) if you fix x and the return value, you still have two unknowns with 1 equation. How is that easy to solve?
Unless you’re considering using parametric inverses to represent the solution — but you didn’t mention this so I assume you didn’t mean this.
- 6gvONxR4sf7o 3y agoI was being underspecific to be concise, but in pyro, I'd mean something like this: def f(x, y): return pyro.sample( "z", dist.Normal(x+y, 1), obs=5 ) model = pyro.condition(f, x=3)