Skip to content

Latest commit

 

History

History
74 lines (47 loc) · 1.59 KB

poutine.rst

File metadata and controls

74 lines (47 loc) · 1.59 KB

Poutine (Effect handlers)

Beneath the built-in inference algorithms, Pyro has a library of composable effect handlers for creating new inference algorithms and working with probabilistic programs. Pyro's inference algorithms are all built by applying these handlers to stochastic functions.

Handlers

pyro.poutine.handlers

pyro.poutine.block

pyro.poutine.broadcast

pyro.poutine.condition

pyro.poutine.do

pyro.poutine.enum

pyro.poutine.escape

pyro.poutine.infer_config

pyro.poutine.lift

pyro.poutine.markov

pyro.poutine.mask

pyro.poutine.queue

pyro.poutine.replay

pyro.poutine.scale

pyro.poutine.trace

pyro.infer.enum.config_enumerate

Trace

pyro.poutine.Trace

Messengers

Messenger objects contain the implementations of the effects exposed by handlers. Advanced users may modify the implementations of messengers behind existing handlers or write new messengers that implement new effects and compose correctly with the rest of the library.

Runtime

pyro.poutine.runtime

Utilities

pyro.poutine.util