1. 29 11月, 2019 2 次提交
  2. 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
  3. 22 11月, 2019 2 次提交
    • H
      [LITE][ALL] Refine NPU and XPU passes, fix the pass matching based on the... · 65381f13
      hong19860320 提交于
      [LITE][ALL] Refine NPU and XPU passes, fix the pass matching based on the bound targets and excluded targets (#2477)
      
      
      65381f13
    • H
      add NHWC NCHW transform, test=develop (#2381) · b1e4f4fd
      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
      b1e4f4fd
  4. 21 11月, 2019 1 次提交
  5. 20 11月, 2019 1 次提交
  6. 19 11月, 2019 1 次提交
  7. 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
  8. 13 11月, 2019 1 次提交
  9. 08 11月, 2019 1 次提交
  10. 07 11月, 2019 1 次提交
  11. 06 11月, 2019 2 次提交
  12. 05 11月, 2019 3 次提交
  13. 01 11月, 2019 1 次提交
  14. 31 10月, 2019 1 次提交
  15. 30 10月, 2019 3 次提交
  16. 29 10月, 2019 2 次提交
  17. 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
  18. 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
  19. 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
  20. 24 10月, 2019 1 次提交
    • L
      Make inceptionv4, resnet50, googlenet can run on x86 paltform (#2250) · ca7fefa1
      liu zhengxi 提交于
      * make inceptionv4, resnet50, googlenet can run on x86 paltform and fix the compare part in x86 unittests, test=develop
      
      * fix googlenet tests for benchmark record, test=develop
      
      * [framework][profile] fix profile dump bug when op is feed and fetch test=develop (sangoly)
      ca7fefa1
  21. 23 10月, 2019 1 次提交
  22. 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
  23. 21 10月, 2019 4 次提交
  24. 17 10月, 2019 1 次提交
    • Z
      fix npu path (#2210) · c10a8b16
      zhupengyang 提交于
      * move lite/backends/npu/bridges --> lite/kernels/npu/
      
      test=develop
      
      * fix namespace for npu
      
      test=develop
      
      * mv npu runtime file to lite/backends/npu
      
      test=develop
      c10a8b16
  25. 16 10月, 2019 2 次提交
  26. 15 10月, 2019 1 次提交