Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support more kinds of marginalization via dim analysis
This commit lifts the restriction that only Elemwise operations may link marginalized to dependent RVs. We map input dims to output dims, to assess whether an operation mixes information from different dims or not. Graphs where information is not mixed can be efficiently marginalized.
- Loading branch information