Parameter#
- class hybrid_aif.Parameter[source]#
Bases:
ModuleA reference to a named parameter variable, in place of a table.
A state factor’s
transitionentry or a modality’slikelihoodentry may beParameter(name), which says the state factor or modality reads the declaration held undernameinSystemParams.parameters. Every reader of one name reads one table, andlearnupdates it once from the sum of the readers’ count statistics. The token carries no array: the name is static, so a reference is a pytree node with no leaves.The variable is internal to one particle: its readers share it outright, and another particle sees it only as a report of counts (by
stats, the counts since the last report;modeandsampleof a parameter stay deferred). Design: shared-parameters.md; nesting-and-coupling.md N6.- __init__(name)#