chmncc.probabilistic_circuits package
Submodules
chmncc.probabilistic_circuits.GatingFunction module
Gating function
- class chmncc.probabilistic_circuits.GatingFunction.DenseGatingFunction(beta, gate_layers=[128, 256, 256], num_reps=1, gate_dropout=None, device='cpu')[source]
Bases:
Module
- _is_full_backward_hook: bool | None
- forward(x)[source]
Defines the computation performed at every call.
Should be overridden by all subclasses.
Note
Although the recipe for forward pass needs to be defined within this function, one should call the
Module
instance afterwards instead of this since the former takes care of running the registered hooks while the latter silently ignores them.
- training: bool
chmncc.probabilistic_circuits.compute_mpe module
Module contents
Module concerning the probabilistic circuits