M.  Desana and Schnörr, C., ?Sum-Product Graphical Models?, Machine Learning, vol. 109, pp. 135?173, 2020.