april-tools / cirkit

a python framework to build, learn and reason about probabilistic circuits and tensor networks
https://cirkit-docs.readthedocs.io/en/latest/
GNU General Public License v3.0
80 stars 4 forks source link

Reintroduce support for marginalizing/integrating subsets of variables #241

Closed loreloc closed 3 months ago

loreloc commented 4 months ago

This could be implemented by introducing hadamard product layers over distributions and constant layers, whenever we partially integrate an input layer.