SPOOF: Sum-Product Optimization and Operator Fusion for Large-Scale Machine Learning
Factor Graphs and the Sum Product Algorithm