1. 31 12月, 2019 1 次提交
    • H
      [LITE][NPU][XPU] Refine the registration and implementation of op bridges (#2700) · fb668935
      hong19860320 提交于
      * Fix the compiling error which occurs when specify the ddk_root path and build for huawei NPU.
      
      * Refine the registration of op bridges and make it similar to the registration of op and kernel.
      
      * Refine the interfaces of the graph and node for op bridges, and support creating constant and data node automatically according to the attribute 'persistable' of the target tensor.
      
      * Add the unit test of the scale and softmax op bridge for NPU.
      fb668935
  2. 27 12月, 2019 1 次提交
  3. 26 12月, 2019 1 次提交
  4. 25 12月, 2019 1 次提交
  5. 24 12月, 2019 4 次提交
  6. 21 12月, 2019 1 次提交
  7. 20 12月, 2019 2 次提交
  8. 13 12月, 2019 1 次提交
  9. 26 11月, 2019 1 次提交
    • Z
      [XPU][NPU] update conv and conv_transpose padding (#2493) · 7718e665
      zhupengyang 提交于
      * [XPU] update conv padding
      
      test=develop
      
      * [XPU] exclude xpu for passes
      
      test=develop
      
      * fix conv padding compute
      
      test=develop
      
      * [NPU] update 2-pad to 4-pad for conv and conv_transpose
      
      test=develop
      
      * reuse UpdatePadding code
      
      test=develop
      7718e665
  10. 22 11月, 2019 2 次提交
    • H
      update conv 2-pad to 4-pad (#2404) · b3a5fc1a
      HappyAngel 提交于
      * fix conv 2-pad to 4-pad
      
      * fix compute conv shape
      
      * fix pad, test=develop
      
      * change conv_depthwise_3x3s1_fp.cc name to conv3x3s1p01_depthwise_fp32.cc to distinguish between conv3x3s1_depthwise_fp32.cc
      
      * delete printf note in conv3x3s1, test=develop
      
      * delete printf note, test=develop
      
      * delete gem_sdot.h, test=develop
      
      it is coped from __gemm_sdot_meta_.h
      
      * update compute padding, test=develop
      
      * fix padding size, must be 2 or 4. test=develop
      
      * fix format in operators/conv_op.cc, test=develop
      
      * change #if 0 to #if 1, test=develop
      
      * put 2-pad to 4-pad in AttachImpl, test=develop
      
      * fix clang-format error inn tests/math/connv_compute_test, test=develop
      
      * fix x86 test result error, test=develop
      
      * add asymmetric padding test case in liite/tests/math/conv_compute.cc, test=develop
      
      * change paddings type to support dynamically modify, test=develop
      
      * fix x86 build error in connv_compute_test, test=develop
      
      * fix opencl build error, test=develop
      
      * fix oopencl build error, test=develop
      
      * fix  opencl/conv_compute build error, test=develop
      
      * fix  opencl/conv_compute build error, test=develop
      
      * fix format in kernels/opencl/conv_computte_ttest,test=develop
      
      * fix build error, test=develop
      
      fix build error in kernels/x86/conv_compute.h
      b3a5fc1a
    • H
      update pooling 2-padding to 4-padding (#2410) · 4bdb6171
      HappyAngel 提交于
      * fix pooling bug and speed
      
      * fix build error
      
      * delete VLOGin pool, test=develop
      
      * add openmp, test=develop
      
      * fix lite/kernels/arm/pool_compute_test basic_pooling compute error bug, test=develop
      
      * update pooling 2-pad to 4-pad, test=develop
      
      * fix 2-pad to 4-pad in operators/pool_op.h, AttachKernel will set param, so 2-pad to 4-pad funcs should put in AttachKernel. test=ddevellop
      
      * put 2-pad to 4-pad in AttachImpl, test=develop
      
      * according to reviews, fix some format error. test=develop
      
      * fix format errorr, add (). test=develop
      
      * change paddings type to support dynamically modify, test=develop
      
      * update padding type int other devices, test=develop
      
      * fix x8d build error on shared_ptr, test=ddevelop
      
      * fix formmat in operators pool_op.cc, test=develop
      4bdb6171
  11. 01 11月, 2019 1 次提交
  12. 30 10月, 2019 1 次提交
  13. 29 10月, 2019 2 次提交
  14. 28 10月, 2019 2 次提交
    • Z
      [XPU] add elementwise, pool, softmax op bridges and unit tests (#2264) · 231a658b
      zhupengyang 提交于
      test=develop
      231a658b
    • H
      [LITE][XPU] initial support for XPU (#2202) · ac1b2f9f
      hong19860320 提交于
      * Initial support for XPU
      * Fix compiling errors of XPU
      * Move XPU op kernel bridges from backends to kernels to fix deps order
      * Change the namespace and directory of XPU bridges
      * Add XPU SDK
      * Fix header files and namespace of XPU SDK
      * Add unit tests for relu and conv2d ops
      * Restore the modification of paddle_api_test
      * Supports simple model which contains only a relu layer
      * Add compiling scripts for XPU
      * Fix compiling errors of XPU
      * Add comments for XPU LoadModel and BuildModel
      ac1b2f9f