1. 22 1月, 2020 1 次提交
  2. 16 1月, 2020 1 次提交
  3. 14 1月, 2020 1 次提交
  4. 09 1月, 2020 1 次提交
  5. 06 1月, 2020 1 次提交
  6. 03 1月, 2020 2 次提交
  7. 02 1月, 2020 1 次提交
  8. 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
  9. 24 12月, 2019 1 次提交
  10. 23 12月, 2019 1 次提交
  11. 20 12月, 2019 1 次提交
  12. 18 12月, 2019 1 次提交
  13. 17 12月, 2019 2 次提交
    • H
      [lite]add some fusion (#2604) · e5cbdb7b
      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
      e5cbdb7b
    • G
      [ARMLinux] Fix the error that armlinux can not compile (#2612) · bd9481de
      guofei 提交于
      test=develop
      bd9481de
  14. 13 12月, 2019 1 次提交
  15. 10 12月, 2019 2 次提交
    • W
      fix type_target_cast pass. support only copy once for multiple use arg. test=develop (#2572) · dde80670
      Wilber 提交于
      For multiple-use parameters, only copy once
      dde80670
    • 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
  16. 03 12月, 2019 1 次提交
  17. 29 11月, 2019 2 次提交
  18. 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
  19. 22 11月, 2019 1 次提交
  20. 18 11月, 2019 1 次提交
    • Y
      [LITE][OPENCL] Enable full and light api for OpenCL (#2331) · cfa086e9
      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
      cfa086e9
  21. 08 11月, 2019 1 次提交
  22. 06 11月, 2019 1 次提交
  23. 05 11月, 2019 2 次提交
  24. 01 11月, 2019 1 次提交
  25. 31 10月, 2019 1 次提交
  26. 30 10月, 2019 2 次提交
  27. 29 10月, 2019 2 次提交
  28. 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
  29. 26 10月, 2019 1 次提交
    • Y
      Fix conv_bn fuser with no elemwise op added, Fix conv_elem with original conv... · e914f0da
      Yuan Shuai 提交于
      Fix conv_bn fuser with no elemwise op added, Fix conv_elem with original conv with conv_bias (#2211)
      
      * Fix conv_bn fuser with no elemwise op added. test=develop
      
      * fix match not bug. test=develop
      
      * Fix conv-bn pass. test=develop
      
      * Fix conv-bn pass. test=develop
      
      * Fix conv-bn pass. test=develop
      
      * Fix conv-bn pass. test=develop
      
      * Fix conv-bn pass. test=develop
      
      * Fix conv-bn fuse pass. test=develop
      
      * Fix conv-bn fuser consider the case: enable_int8=true without conv_bias. test=develop
      
      * Fix back, consider enable_int8. test=develop
      
      * Fix Bug for conv-bn quant pass. test=develop
      
      * Fix conv-elemwise considering origin conv with conv_bias. test=develop
      
      * Fix code format. test=develop
      
      * simplify. test=develop
      
      * simplify. test=develop
      
      * Fix conv_elem. test=develop
      e914f0da
  30. 22 10月, 2019 3 次提交
    • J
      Optimize quant_dequant (#2215) · aefb4ea3
      juncaipeng 提交于
      * Add DeleteQuantOpFuser
      * Add fake_quantize_dequantize_moving_avg_abs_max_op
      * Add DeleteQuantDequantOpFuser
      aefb4ea3
    • Z
      remove feed and fetch for npu subgraph pass (#2230) · 52a093ee
      zhupengyang 提交于
      test=develop
      52a093ee
    • T
      Transformer pr (#2214) · 330644b0
      TianXiaogang 提交于
      * feat: add beam_search_special function for support nlp model
      
      * fix: add beam_search_compute kernel input and output
      
      * feat: add assign op & copy_compute kernel
      
      * feat: add fill_const_batch_size_like op & kernel
      
      * feat: add layer_norm op and kernel and ut
      
      * fix: fix some bugs
          fix mul_op infer_shape bug when x_dim_idx = 2, x_dims.size()=3 & y_dim_idx = 1, y_dims.size()=2
          fix elementwise_compute bug when y axis is all 1
          fix beam_search choose math_func wrong bug
          fix layer_norm get attr bug
          fix fill_constant_batch_size_like shape_set bug
      
      * feat: add gather op and kernel & and transform ut
      
      * feats: add ops and fix bugs to support transformer op
             fix type_cast passes to skip `while`
             fix elementwise infer_shape bug when x.dims=3 and y.dims={1} & axis=0
             fix lookup_table compute bug
             fix read_from_array/beam_search/increment/compate/gather ops data_type problems
      
      * fix:
          transfomer ut add word read inferface
          fix copy/gather/norm/layer_norm include path problem
      
      * fix:debug info
      
      * fix: fix input reshape bug
      
      * fix: fix norm bug
      
      * style: style fix & test=develop
      
      * style: fix operators cmakelist
      
      * style: fix operators cmakelist; test=develop
      
      * fix and test=develop
      
      * fix and test=develop
      
      * style: style fix; test=develop
      330644b0
  31. 21 10月, 2019 1 次提交