Bean Machine
beanmachine.ppl package
beanmachine.ppl.compiler package
Submodules
beanmachine.ppl.compiler.ast_patterns module
beanmachine.ppl.compiler.ast_tools module
beanmachine.ppl.compiler.beanstalk_common module
beanmachine.ppl.compiler.bm_graph_builder module
beanmachine.ppl.compiler.bm_to_bmg module
beanmachine.ppl.compiler.bmg_node_types module
beanmachine.ppl.compiler.bmg_nodes module
beanmachine.ppl.compiler.bmg_requirements module
beanmachine.ppl.compiler.bmg_types module
beanmachine.ppl.compiler.broadcaster module
beanmachine.ppl.compiler.copy_and_replace module
beanmachine.ppl.compiler.copy_transformer module
beanmachine.ppl.compiler.devectorizer_transformer module
beanmachine.ppl.compiler.error_report module
beanmachine.ppl.compiler.execution_context module
beanmachine.ppl.compiler.fix_additions module
beanmachine.ppl.compiler.fix_arithmetic module
beanmachine.ppl.compiler.fix_beta_conjugate_prior module
beanmachine.ppl.compiler.fix_bool_arithmetic module
beanmachine.ppl.compiler.fix_bool_comparisons module
beanmachine.ppl.compiler.fix_logsumexp module
beanmachine.ppl.compiler.fix_matrix_scale module
beanmachine.ppl.compiler.fix_multiary_ops module
beanmachine.ppl.compiler.fix_normal_conjugate_prior module
beanmachine.ppl.compiler.fix_observations module
beanmachine.ppl.compiler.fix_observe_true module
beanmachine.ppl.compiler.fix_problem module
beanmachine.ppl.compiler.fix_problems module
beanmachine.ppl.compiler.fix_requirements module
beanmachine.ppl.compiler.fix_transpose module
beanmachine.ppl.compiler.fix_unsupported module
beanmachine.ppl.compiler.gen_bm_python module
beanmachine.ppl.compiler.gen_bmg_cpp module
beanmachine.ppl.compiler.gen_bmg_graph module
beanmachine.ppl.compiler.gen_bmg_python module
beanmachine.ppl.compiler.gen_builder module
beanmachine.ppl.compiler.gen_dot module
beanmachine.ppl.compiler.gen_mini module
beanmachine.ppl.compiler.graph_labels module
beanmachine.ppl.compiler.internal_error module
beanmachine.ppl.compiler.lattice_typer module
beanmachine.ppl.compiler.patterns module
beanmachine.ppl.compiler.performance_report module
beanmachine.ppl.compiler.profiler module
beanmachine.ppl.compiler.rules module
beanmachine.ppl.compiler.runtime module
beanmachine.ppl.compiler.single_assignment module
beanmachine.ppl.compiler.size_assessment module
beanmachine.ppl.compiler.sizer module
beanmachine.ppl.compiler.special_function_caller module
beanmachine.ppl.compiler.support module
beanmachine.ppl.compiler.tensorizer_transformer module
beanmachine.ppl.compiler.typer_base module
Module contents
beanmachine.ppl.distributions package
beanmachine.ppl.inference package
beanmachine.ppl.model package
beanmachine.ppl.world package
Bean Machine
beanmachine.ppl package
beanmachine.ppl.compiler package
beanmachine.ppl.compiler.broadcaster module
View page source
beanmachine.ppl.compiler.broadcaster module
beanmachine.ppl.compiler.broadcaster.
broadcast_fnc
(
input_size
:
torch.Size
,
target_size
:
torch.Size
)
→
Optional
[
Callable
]
beanmachine.ppl.compiler.broadcaster.
identity_fnc
(
a
:
List
[
int
]
)
→
List
[
int
]