pymc.Model.compile_fn#

Model.compile_fn(outs, *, inputs=None, mode=None, point_fn=True, **kwargs)[source]#

Compiles an Aesara function

Parameters
outs

Aesara variable or iterable of Aesara variables.

inputs

Aesara input variables, defaults to aesaraf.inputvars(outs).

mode

Aesara compilation mode, default=None.

point_fnbool

Whether to wrap the compiled function in a PointFunc, which takes a Point dictionary with model variable names and values as input.

Returns
Compiled Aesara function