aeppl.joint_logprob(*args, sum=True, **kwargs)[source]#

Create a graph representing the joint log-probability/measure of a graph.

This function calls factorized_joint_logprob and returns the combined log-probability factors as a single graph.


sum (bool) – If True each factor is collapsed to a scalar via sum before being joined with the remaining factors. This may be necessary to avoid incorrect broadcasting among independent factors.

Return type