beanmachine.ppl.compiler.lattice_typer module
- class beanmachine.ppl.compiler.lattice_typer.LatticeTyper
Bases:
beanmachine.ppl.compiler.typer_base.TyperBase
[beanmachine.ppl.compiler.bmg_types.BMGLatticeType
]- is_bool(node: beanmachine.ppl.compiler.bmg_nodes.BMGNode) bool
- is_matrix(node: beanmachine.ppl.compiler.bmg_nodes.BMGNode) bool
- is_natural(node: beanmachine.ppl.compiler.bmg_nodes.BMGNode) bool
- is_neg_real(node: beanmachine.ppl.compiler.bmg_nodes.BMGNode) bool
- is_pos_real(node: beanmachine.ppl.compiler.bmg_nodes.BMGNode) bool
- is_prob_or_bool(node: beanmachine.ppl.compiler.bmg_nodes.BMGNode) bool
- is_real(node: beanmachine.ppl.compiler.bmg_nodes.BMGNode) bool