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
71 stars 1 forks source link

Add a level of abstraction for input layers #117

Closed lkct closed 1 year ago

lkct commented 1 year ago

ExpFamilyLayer should be a subclass of some general InputLayer.

This enables us to add other input functionals aside from exp family.