pymc.Model.flatten#

Model.flatten(vars=None, order=None, inputvar=None)[source]#

Flattens model’s input and returns:

Parameters
vars: list of variables or None

if None, then all model.free_RVs are used for flattening input

order: list of variable names

Optional, use predefined ordering

inputvar: at.vector

Optional, use predefined inputvar

Returns
flat_view