Make weight initialization reproducible
Created by: APJansen
This is an attempt to address #1916 (closed), branching off of #1905 because it uses the MultiInitializer
to initialize the preprocessing weights.
I have checked that when doing any of:
n3fit runcard.yaml 1 -r 3
n3fit runcard.yaml 2 -r 3
n3fit runcard.yaml 1 -r 2
the preprocessing weights, NN weights and PDF output right after creation are identical for replica number 2.
Even after rebasing on trvl-mask-layers though, results do not remain identical.
I don't know where the difference is coming from, as the tr/vl masks, and the invcovmats, are also the same for replica 2.