beanmachine.ppl.world.base_world module
- class beanmachine.ppl.world.base_world.BaseWorld
Bases:
object
- call(node: beanmachine.ppl.model.rv_identifier.RVIdentifier)
A helper function that invokes the random variable and return its value
- abstract update_graph(node: beanmachine.ppl.model.rv_identifier.RVIdentifier) torch.Tensor
- beanmachine.ppl.world.base_world.get_world_context() Optional[beanmachine.ppl.world.base_world.BaseWorld]