- Model.compile_logp(vars=None, jacobian=True, sum=True)#
Compiled log probability density function.
- vars: list of random variables or potential terms, optional
Compute the gradient with respect to those variables. If None, use all free and observed random variables, as well as potential terms in model.
Whether to include jacobian terms in logprob graph. Defaults to True.
Whether to sum all logp terms or return elemwise logp for each variable. Defaults to True.