ppl.kernel.cpu's People
Forkers
xupinjie liuhaoss alcanderian haojiangzheng kyu-junyi zhouleidcc empowerszc ishine wangbiao108 icthu open-lm whutbdppl.kernel.cpu's Issues
关于x86 cpu conv2d_fp32实现的疑问
select_algo函数sse分支ret_info默认输入输出的data format都是ndarray,sse_fallback_info中的format也是ndarray,那么gen_algo函数中如何选到n8cx的实现?
https://github.com/openppl-public/ppl.kernel.cpu/blob/master/src/ppl/kernel/x86/fp32/conv2d/conv2d_fp32.cpp#L283
另外gen_algo中sse分支关于input data_format的判断是不是写错了?
https://github.com/openppl-public/ppl.kernel.cpu/blob/master/src/ppl/kernel/x86/fp32/conv2d/conv2d_fp32.cpp#LL382C67-L382C67
hardswish sse bug
应该是v_dst3
Conv2d gen_algo SSE分支调用了fma manager
具体代码如上,不知道是否是手滑写错了
conv2d_winograd_b6f3_fp32_sse_manager::is_supported()限制不够
测试命令如下:
./test_conv2d -cfg cfg.txt -algo ndarray_winograd_b6f3_fp32_sse
cfg.txt如下:
g1_mb1_ic12ih1iw9_oc4oh1ow9_kh3kw3sh1sw1ph1pw1dh0dw0_nwino
此时会出现channel2=0的情况,而winograd_b6f3_transpose_4x4_fp32_sse_func_table[1][0]是nullptr
https://github.com/openppl-public/ppl.kernel.cpu/blob/master/src/ppl/kernel/x86/fp32/conv2d/sse/conv2d_winograd_b6f3_fp32_sse.cpp#L280
https://github.com/openppl-public/ppl.kernel.cpu/blob/master/src/ppl/kernel/x86/fp32/conv2d/sse/conv2d_winograd_b6f3_fp32_sse.cpp#L229
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.