KleinYuan / Caffe2-iOS

Caffe2 on iOS Real-time Demo. Test with Your Own Model and Photos.
MIT License
227 stars 45 forks source link

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

Open raininglixinyu opened 7 years ago

raininglixinyu commented 7 years ago

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?

KleinYuan commented 7 years ago

@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.

raininglixinyu commented 7 years ago

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

raininglixinyu commented 7 years ago

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

KleinYuan commented 7 years ago

@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.

raininglixinyu commented 7 years ago

@KleinYuan That's great!

token01 commented 7 years ago

o( ̄▽ ̄)d