Coder Social home page Coder Social logo

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

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.