EinsumNetworks
EinsumNetworks copied to clipboard
Making reparam an instance method in SumLayer, FactorizedLeafLayer and ExponentialFamilyArray classes
Replacing reparam_function
with a reparam
function as a direct instance method, in order to avoid local function objects that cannot be pickled.
See Issue #1
(This pr shall not include the test files as #2)