beanmachine.ppl.inference.proposer.sequential_proposer module

class beanmachine.ppl.inference.proposer.sequential_proposer.SequentialProposer(proposers: List[beanmachine.ppl.inference.proposer.base_proposer.BaseProposer])

Bases: beanmachine.ppl.inference.proposer.base_proposer.BaseProposer

do_adaptation(*args, **kwargs) None

Run do_adaptation for all of the proposers

finish_adaptation() None
propose(world: beanmachine.ppl.world.world.World) Tuple[beanmachine.ppl.world.world.World, torch.Tensor]

Computes the joint log prob of all the proposers for the world.

Parameters

world – World to compute joint log prob of