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

Save references of SymbL and L #196

Closed lkct closed 8 months ago

lkct commented 8 months ago

Extracted from #190 (cc @IrwinChay ) because it's standalone and not minor.

  1. added ref to SymbL in Cfg
  2. made sure SymbL always copies the Cfg passed in
  3. added ref to L in SymbL when concretize
  4. used the refs when appropriate
  5. moved EFProdReparam to reparam file solely for EF.