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

Add the possibility of specifying sum-product layers in the from_region_graph() method #246

Closed loreloc closed 3 months ago

loreloc commented 4 months ago

We want to allow the user to specify composed layer blocks in the from_region_graph() method. These include:

The from_region_graph() method should then build the usual distinct sum and product layers.