Hi NCNN team,
I was exploring the Convolution Implementation found in -> https://github.com/Tencent/ncnn/blob/master/src/layer/convolution.cpp
I want to know on which specific Hardware that Implementation will be executed?
Look forward to your reply.
Thanks
8条答案
按热度按时间7ivaypg91#
Hi @nihui,
looking forward to your reply.
Thank
7bsow1i62#
Hi @nihui,
Does the Implementation use NCHW or NHCW format?
Thanks
NCHW where N=1
okxuctiv3#
Hi @nihui,
Thanks a lot for your kind reply.
Can you please help me with the script in the repo where I can get the info on selecting the Convolution implementation(either naive or optimized implementation) for execution on X86 CPU?
Look forward to your reply.
Thanks
i7uq4tfw4#
This is the naive implementation.
For all cpu arch other than x86/arm/mips/risc-v, it will be used.
yh2wf1be5#
Hi @nihui,
Thanks for your reply.
If I want to execute the same on x86 what are the changes to be made? Basically, I want to understand the Implementation by executing it.
Thanks
t8e9dugd6#
You could simply delete the whole src/layer/x86 folder or delete selected x86-optimized layer sources, and rebuild ncnn library.
oipij1gg7#
Thanks a lot @nihui
I tried, and it is working!
Btw, how can that implementation be further optimized? any tips? But I observed that it is executing fast.
Thanks
ne5o7dgx8#
Hi @nihui,
Does the Implementation use NCHW or NHCW format?
Thanks