WANG-MengJiao commented on issue #13219: using C++ interface on CPU to extract feature vector, delete NDArray::WaitAll() generate incorrect result URL: https://github.com/apache/incubator-mxnet/issues/13219#issuecomment-439252890 @ThomasDelteil Thank you for your response. Let me to get this straight. Do you mean without `NDArray::WaitAll()`, I should read the outputs from sync instead of using `NDArray array = executor->outputs[0]`? Since I am a newbie to MxNet, could you give me some example about how to do that? Also, from the comments in [feature_extract.cpp](https://github.com/apache/incubator-mxnet/blob/master/cpp-package/example/feature_extract/feature_extract.cpp), `NDArray::WaitAll()` is only needed when copying between GPU and main memory. However, I did all the work on CPU. To my best understanding, there would be no copying between memories. Why the `NDArray::WaitAll()` is still required in my case?
---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services
