PaddlePaddle / Anakin

High performance Cross-platform Inference-engine, you could run Anakin on x86-cpu,arm, nv-gpu, amd-gpu,bitmain and cambricon devices.
https://anakin.baidu.com/
Apache License 2.0
532 stars 135 forks source link

How to build the ios anakin from source ? #465

Open KeyKy opened 5 years ago

KeyKy commented 5 years ago

Thanks, I can only find the android build tutorial in your doc.

KeyKy commented 5 years ago

Oh, I find the lite_ios_build_armv7 in tools/anakin-lite.

-- However, it build failed with this error /Users/ky/workspaces/comments/Anakin/saber/lite/funcs/neon/saber_eltwise_act.cpp:647:63: error: cannot initialize a parameter of type 'float ' with an lvalue of type 'const float const' _param->_activation_param._prelu_channel_shared, _param->_activation_param._prelu_weights); ^~~~~~~~~~~~ /Users/ky/workspaces/comments/Anakin/saber/lite/funcs/neon/saber_eltwise_act.cpp:651:63: error: cannot initialize a parameter of type 'float ' with an lvalue of type 'const float const' _param->_activation_param._prelu_channel_shared, _param->_activation_param._prelu_weights); ^~~~~~~~~~~~ 2 errors generated. make[2]: *** [CMakeFiles/ANAKIN_LITE_OBJS.dir/Users/ky/workspaces/comments/Anakin/saber/lite/funcs/neon/saber_eltwise_act.cpp.o] Error 1

KeyKy commented 5 years ago

Could you show me a project (using anakin lite) to help me with anakin lite API ?

KeyKy commented 5 years ago

@Superjomn @cs2be @varunarora @reyoung 请问你们能解释一下什么是AOT模式吗?和普通模式有什么区别。Anakin支持8位计算吗?。。有quantise的工具吗?感觉人都去哪了

leiyu1980 commented 5 years ago

这个项目最近好像比较冷