Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
ComputationGraph#addListeners only works for first listener #5251
Expected behaviour: addListeners is supposed to add the given listener(s) to existing listeners.
Observed behaviour: Given listeners are only set in ComputationGraphs trainingListeners in case no listeners where set before (if trainingListeners == null). Furthermore, it seems like existing listeners in solver and the solvers optimizer are overwritten. Probably easier to understand what is the problem if one just looks at the code :)
Would be trivial to add them but there might be other magic going on with layers and solver listeners which needs special attention.