lx75249 commented on issue #9809: fix optimizer bug in CPP-Package URL: https://github.com/apache/incubator-mxnet/pull/9809#issuecomment-368388316 Unfortunately we don't have static constructors in c++, and that's why the initialization becomes so weird. Emulating a static constructor will make the code more confusing, but registering optimizers in Find is as acceptable as creating an instance in singleton getters.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services