1. 10 12月, 2019 2 次提交
    • H
    • W
      modify static_kernel_pass to support select the kernel according to input type (#2488) · 8b84b728
      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
      8b84b728
  2. 21 11月, 2019 1 次提交
  3. 20 11月, 2019 2 次提交
  4. 19 11月, 2019 1 次提交
  5. 14 11月, 2019 2 次提交
  6. 12 11月, 2019 1 次提交
    • H
      [LITE][ARM]add cv image process (#2402) · 9f236a99
      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
      9f236a99
  7. 04 11月, 2019 1 次提交
  8. 01 11月, 2019 1 次提交
  9. 31 10月, 2019 1 次提交
  10. 30 10月, 2019 1 次提交
  11. 29 10月, 2019 1 次提交
  12. 28 10月, 2019 1 次提交
    • 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
  13. 27 10月, 2019 1 次提交
    • H
      model dynamic library tailoring (#2256) · b16917a4
      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
      b16917a4
  14. 24 10月, 2019 2 次提交
  15. 23 10月, 2019 2 次提交
  16. 22 10月, 2019 1 次提交
    • J
      Modify parse_op_registry (#2239) · 33601adf
      juncaipeng 提交于
      * modify parse_op_registry. When REGISTER_LITE_OP and op_name not in the same row, it also can obtain op_name, test=develop
      33601adf
  17. 16 10月, 2019 1 次提交
  18. 15 10月, 2019 1 次提交
    • H
      [NPU] Fix and refine the supporting of multi NPU models (#2037) · e184d474
      hong19860320 提交于
      * [NPU] Fix the bug of loading multi NPU models
      test=develop
      
      * [NPU] Use lite tensor to store NPU model, fix the management of multi NPU models, support loading NPU model from memory and reduce the modification of framework
      test=develop
      
      * [NPU] Remove redundant header files for NPU bridges,
      test=develop
      
      * [NPU] fix NPU deps
      test=develop
      
      * [NPU] refine the compiling script for NPU
      test=develop
      
      * [NPU] remove redundant subdirectory in lite/CMakeLists.txt
      test=develop
      
      * [NPU] Fix and refine NPU test case
      test=develop
      
      * [NPU] revoke the modification of other non-NPU modules
      test=develop
      
      * [NPU] Remove NPU bridges if target is tiny publish
      test=develop
      e184d474
  19. 25 9月, 2019 1 次提交
  20. 21 9月, 2019 1 次提交
  21. 19 9月, 2019 3 次提交
  22. 18 9月, 2019 2 次提交
    • S
    • X
      fix bias quantize error && fix clang build error (#2049) · 8d6f475e
      Xiaoyang LI 提交于
      * fix gemm_int8, gemv-int8 and conv-int8 math function, add float bias
      
      * change conv impl
      
      * neon int8 kernel support float bias
      
      * arm compute kernel support float bias
      
      * add math_test target
      
      * add tensor utils for testing, fix sgemm ut error
      
      * add gemm_int8 unit test, support float bias
      
      * fix build script
      
      * add conv compute unit test for arm
      
      * fix build script, test=develop
      
      * fix fp32 dw conv3x3s1, test=develop
      
      * add fp32 dw conv3x3s1, test=develop
      
      * add armv7 fp32 dw conv3x3s1, test=develop
      
      * add fp32 depthwise conv3x3s2, test=develop
      
      * fix fp32 conv3x3 depthwise build error, test=develop
      
      * fix gemm_like conv trans weights error, test=develop
      
      * fix int8 depthwise conv3x3 error, test=develop
      
      * turn on all test for arm fp32 conv, test=develop
      
      * fix int8 conv1x1 error
      
      * fix int8 direct conv3x3s1 error, test=develop
      
      * fix int8 direct conv3x3s2, test=develop
      
      * turn on all test for arm int8 conv, test=develop
      
      * fix int8 fc error, change mobilenetv1-int8 ground-truth result to fluid, test=develop
      
      * remove debug info, strip ut binary, test=develop
      
      * fix conv compute error, test=develop
      
      * change Init() to ReInitWhenNeeded(), test=develop
      
      * fix code style, test=develop
      
      * remote engine_test, test=develop
      
      * fix building server tests error, test=develop
      
      * fix sdot clang build error, test=develop
      
      * fix sgemm ut timeout error, test=develop
      
      * fix clang build error, test=develop
      
      * turn off math basic test due to ci time out, test=develop
      
      * fix conv_int8 ut error, test=develop
      8d6f475e
  23. 17 9月, 2019 1 次提交
  24. 12 9月, 2019 1 次提交
  25. 11 9月, 2019 1 次提交
  26. 07 9月, 2019 1 次提交
  27. 03 9月, 2019 1 次提交
  28. 02 9月, 2019 1 次提交
  29. 31 8月, 2019 1 次提交
  30. 30 8月, 2019 2 次提交
    • H
      [NPU] add NPU supporting for Java API (#1915) · 9fa9d6b7
      hong19860320 提交于
      * [NPU] add NPU supporting for Java API
      test=develop
      
      * [NPU] refine build script for NPU compiling
      test=develop
      
      * [NPU] fix compiling script for NPU
      test=develop
      9fa9d6b7
    • X
      support ios tiny publish (#1910) · b5fc1a37
      Xiaoyang LI 提交于
      * fix ios build script, test=develop
      
      * add ios tiny publish target, test=develop
      
      * fix ios build scrip, test=develop
      
      * merge build_ios.sh to build.sh, test=develop
      
      * ios support BUILD_EXTRA, test=develop
      b5fc1a37
  31. 29 8月, 2019 1 次提交