Closed tqchen closed 8 years ago
e.g. in https://github.com/dmlc/MXNet.cpp/blob/master/include/mxnet-cpp/ndarray.hpp#L59
Change function handle to static, and use a first time initialize strategy, so there is no need to get the function again and save this overhead
OK.
I am considering an update of MXNET.cpp these days.
Done. https://github.com/dmlc/MXNet.cpp/pull/24
e.g. in https://github.com/dmlc/MXNet.cpp/blob/master/include/mxnet-cpp/ndarray.hpp#L59
Change function handle to static, and use a first time initialize strategy, so there is no need to get the function again and save this overhead