Mini-Pyro Interface¶
This interface provides a backend for the Pyro probabilistic programming
language. This interface is intended to be used indirectly by writing standard
Pyro code and setting pyro_backend("funsor")
. See examples/minipyro.py for
example usage.
Mini Pyro¶
This file contains a minimal implementation of the Pyro Probabilistic
Programming Language. The API (method signatures, etc.) match that of
the full implementation as closely as possible. This file is independent
of the rest of Pyro, with the exception of the pyro.distributions
module.
An accompanying example that makes use of this implementation can be found at examples/minipyro.py.
- class CondIndepStackFrame(name, size, dim)¶
Bases:
tuple
- property dim¶
Alias for field number 2
- property name¶
Alias for field number 0
- property size¶
Alias for field number 1
- class ClippedAdam(optim_args)[source]¶
Bases:
PyroOptim
- TorchOptimizer¶
alias of
ClippedAdam