KleinYuan/Caffe2-iOS

How to change the default compute mode from eigen to nnpack?

Opened this issue · 6 comments

I use the profiling tool to analyze the time consumption of each function. Be surprised to find that there is no nnpack function and the eigen function has been used. So i guess that i have not 'open' the nnpack mode. Do you have any idea?

@raininglixinyu Did you test on simulator or a device?
If with simulator, here's the answer.
Also here's a mobile performance master issue is related here may help you understand whether your build have nnpack.

@KleinYuan I did the test on my iphone6. Thanks for the advise.

@KleinYuan Ohh~ it is really tough for me. I have tried a lot but didn't work.

@raininglixinyu I would like to help you and if you are interested, you can join this slack channel so that we can communicate more efficiently.

@KleinYuan That's great!

o( ̄▽ ̄)d