1. 17 12月, 2019 3 次提交
    • H
      [lite]add some fusion (#2604) · ec8353e8
      HappyAngel 提交于
      * add cv image process
      
      * fix arm liunx build error
      
      * add LITE_WITH_CV defien to make cv, test=develop
      
      * fix cv format, annd add describe in utils/cv
      
      * delete some Meaningless comments, test=develop
      
      * set LITE_WITH_CV=OFF in build.sh, test=develop
      
      * delete cv_enum.h in utils/cv, push the contents in cv_ennum.h to paddle_image_preprocess.h, test=develop
      
      * according to reviews to redefine paddle_image_preprocess.h, test=develop
      
      * add detailed note of flipParam, test=develop
      
      * fix format in paddle_image_preprocess.h, test=develop
      
      * fix error when build x86. test=develop
      
      lite_with_X86 does not contain lite_with_cv
      
      * fix cmake error in llite/CMakeLists.txt, missing mkdir cxx, test=develop
      
      * according to review change, test=develop
      
      * chang grb to rgb, test=develop
      
      * add elemetnwise mul constant elimination and deconv+relu, deconv+batchnorm fusion, test=develop
      
      * fix format, test=develop
      ec8353e8
    • G
      [ARMLinux] Fix the error that armlinux can not compile (#2612) · 1e9823a0
      guofei 提交于
      test=develop
      1e9823a0
    • Y
  2. 16 12月, 2019 2 次提交
  3. 13 12月, 2019 1 次提交
  4. 11 12月, 2019 1 次提交
  5. 10 12月, 2019 2 次提交
    • W
      fix type_target_cast pass. support only copy once for multiple use arg. test=develop (#2572) · 8903c795
      Wilber 提交于
      For multiple-use parameters, only copy once
      8903c795
    • W
      modify static_kernel_pass to support select the kernel according to input type (#2488) · 7ef0e7fe
      Wilber 提交于
      修改了选kernel的逻辑,默认从模型文件中读取出lod_tensor的data type,在static_kernel_pick pass中如果kernel输入输出的类型与读取的data type完全一致,则选择该Kernel的概率增大。
      
      - 增加 从模型文件__model__读取lod_tensor的data type到cpp::vardesc
      
      - program中增加unordered_map<string, type>字段,并在 Program::PrepareWorkspace中对该字段赋值
      
      - 修改了node.h文件,将const Type* 更改为Type*,并在SSAGraph::Build过程中为符合条件的type*赋值
      
      - static_kernel_pick_pass中添加新规则,如果kernel的输入类型输出类型与__model__中存储的类型的一致,则score*=2。
      
      - 支持模型中用到sequence_reverse_float kernel(输入输出均为float)和sequence_reverse_int64 kernel(输入输出均为int64),能够根据输入输出type选kernel
      7ef0e7fe
  6. 07 12月, 2019 1 次提交
    • J
      Support mask_rcnn (#2484) · c2f72cb3
      juncaipeng 提交于
      * add arm split lod tensor, test=develop
      
      * add arm merge lod tensor, test=develop
      
      * update split merge lod tensor, test=develop
      
      * add reduce_prob op, test=develop
      
      * support mask_rcnn succeed, test=develop
      c2f72cb3
  7. 04 12月, 2019 3 次提交
  8. 03 12月, 2019 1 次提交
  9. 29 11月, 2019 2 次提交
  10. 26 11月, 2019 1 次提交
    • Z
      [XPU][NPU] update conv and conv_transpose padding (#2493) · eb9a0238
      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
      eb9a0238
  11. 22 11月, 2019 2 次提交
    • H
      [LITE][ALL] Refine NPU and XPU passes, fix the pass matching based on the... · c62fd634
      hong19860320 提交于
      [LITE][ALL] Refine NPU and XPU passes, fix the pass matching based on the bound targets and excluded targets (#2477)
      
      
      c62fd634
    • H
      add NHWC NCHW transform, test=develop (#2381) · 6b3c341f
      HappyAngel 提交于
      * add nhwc to nchw
      
      * add layout in funcs
      
      * change layout as extra, test=develop
      
      * change make, test=develop
      
      * use template class method to update layout NNCHHW and NHWC transform, test=develop
      
      * fix cmake error, set layout to extra, test=develop
      
      * fix test_layout_compute_arm test, its extra
      
      * layout is extra, test=develop
      
      * fix error in kernels/arm/layout_comput.cc when register kernel, DataLayout must be NCHW, test=develop
      
      * delete extra note, test=develop
      
      * delete extra test
      
      * delete layout_test, test=develop
      
      , its in tests/math/layout_comput_test
      
      * delete extrat test, test=develop
      6b3c341f
  12. 21 11月, 2019 1 次提交
  13. 20 11月, 2019 1 次提交
  14. 19 11月, 2019 1 次提交
  15. 18 11月, 2019 1 次提交
    • Y
      [LITE][OPENCL] Enable full and light api for OpenCL (#2331) · d242bdfb
      Yuan Shuai 提交于
      * Fix bug target for kHost and kARM not equal. test=develop
      
      * Fix license. test=develop
      
      * add debug -g option. test=develop
      
      * enable opencl demo. test=develop
      
      * Fix model_optimize_tool found no opencl kernel. test=develop
      
      * add more vlog. test=develop
      
      * remove macro LITE_WITH_OPENCL, LITE_WITH_FPGA in passes. test=develop
      
      * Fix valid_places in mobilenetv1_test. test=develop
      
      * Fix bug of find no real output of fetch, after tool OPs of optimzer passes. test=develop
      
      * Fix vlog as log message in model_optimize_tool. test=develop
      
      * fix miscs. test=develop
      
      * fix comment. test=develop
      
      * Fix misspell of opencl, fpga kernels name in lite/api/CMakeLists.txt. test=develop
      
      * add opencl macro in full_api of demo. test=develop
      d242bdfb
  16. 13 11月, 2019 1 次提交
  17. 08 11月, 2019 1 次提交
  18. 07 11月, 2019 1 次提交
  19. 06 11月, 2019 2 次提交
  20. 05 11月, 2019 3 次提交
  21. 01 11月, 2019 1 次提交
  22. 31 10月, 2019 1 次提交
  23. 30 10月, 2019 3 次提交
  24. 29 10月, 2019 2 次提交
  25. 28 10月, 2019 1 次提交
    • H
      [LITE][XPU] initial support for XPU (#2202) · 06d058fe
      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
      06d058fe
  26. 27 10月, 2019 1 次提交
    • H
      model dynamic library tailoring (#2256) · b987ee38
      huzhiqiang 提交于
      * add shell file to automatically build and collect publish result test=develop
      * modify API inference of model_optimize_tool and add option for tiny&full publish test=develop
      b987ee38