property Var.strong: bool#

Whether the variable is strong.

A strong node is a node whose value is defined outside of the model, for example, if the node represents some observed data or a parameter (parameters are usually set by an inference algorithm such as an optimizer or sampler). In contrast, a weak node is a node whose value is defined within the model, that is, it is a deterministic function of some other nodes. An exp-transformation mapping a real-valued parameter to a positive number, for example, would be a weak node.

See also


Whether the variable is weak. In general, strong = not weak.