I have successfully completed image-classification-predict.cc.
However,I want to get the output of inner layer using C++ API.
How I do?
Thanks!
use symbol.getInternals and group symbol
Thanks!
I will try to do this.
I have learned the example.
But,I want to use C++ API or C API.
Thanks for your help.
here is a c++ example to get the output
https://github.com/dmlc/mxnet/tree/master/example/cpp/image-classification
you can use MXPredCreatePartialOut added on PR #1060 instead of MXPredCreate to get the output of any internal layers
This is a pleasant surprise!
Thank you very much!
Most helpful comment
here is a c++ example to get the output
https://github.com/dmlc/mxnet/tree/master/example/cpp/image-classification
you can use MXPredCreatePartialOut added on PR #1060 instead of MXPredCreate to get the output of any internal layers