pyjuice.nodes.distributions.Literal

class pyjuice.nodes.distributions.Literal(lit: bool | int)

A class representing Literal (indicator) distributions.

__init__(lit: bool | int)

Methods

num_param_flows()

The number of parameter flows per node.

num_parameters()

The number of parameters per node.

Attributes

need_meta_parameters

A flag indicating whether users need to pass in meta-parameters to the constructor of InputNodes.