News for hackers. Stuff that matters.
Re:Pyro: The Universal, Probablistic Programming Language by 6gvONxR4sf7o on Friday July 28, 2023 @02:53PM (#36911487)
I 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)

There are no comments on this comment yet.