Inspected the bug in #93. It seems that the bug was actually resolved by #121 but we were not sure at that time(?). Anyway the current version should be much clearer and should be correct.
Removed reparam in ExpFamilyLayer and used Reparameterization class instead.
Reworked docstrings for all ExpFamilyLayers and annotated the propagation of tensor shapes.
Removed projection from params to natural params. Natural params are now directly obtained from reparam class.
Unified interface of ExpFamilyLayer to the new Layer interface.
TODO: there should be more unit tests -- tracked by #145
Closes #93 Closes #141
ExpFamilyLayer
and usedReparameterization
class instead.ExpFamilyLayer
s and annotated the propagation of tensor shapes.ExpFamilyLayer
to the new Layer interface.TODO: there should be more unit tests -- tracked by #145