1. 06 1月, 2020 1 次提交
  2. 03 1月, 2020 1 次提交
  3. 31 12月, 2019 1 次提交
    • H
      [LITE][NPU][XPU] Refine the registration and implementation of op bridges (#2700) · a29c84a2
      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.
      a29c84a2
  4. 24 12月, 2019 1 次提交
  5. 17 12月, 2019 1 次提交
  6. 13 12月, 2019 1 次提交
  7. 10 12月, 2019 1 次提交
    • 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
  8. 29 11月, 2019 1 次提交
  9. 22 11月, 2019 1 次提交
  10. 08 11月, 2019 1 次提交
  11. 05 11月, 2019 1 次提交
  12. 30 10月, 2019 1 次提交
  13. 29 10月, 2019 1 次提交
  14. 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
  15. 22 10月, 2019 1 次提交
  16. 17 10月, 2019 1 次提交
    • Z
      fix npu path (#2210) · 7c722a37
      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
      7c722a37
  17. 16 10月, 2019 1 次提交
  18. 15 10月, 2019 1 次提交
    • H
      [NPU] Fix and refine the supporting of multi NPU models (#2037) · 7a731b7f
      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
      7a731b7f
  19. 19 9月, 2019 1 次提交
  20. 18 9月, 2019 1 次提交
  21. 13 9月, 2019 1 次提交
  22. 11 9月, 2019 2 次提交
  23. 03 9月, 2019 2 次提交
  24. 29 8月, 2019 2 次提交
  25. 28 8月, 2019 1 次提交
  26. 27 8月, 2019 1 次提交
  27. 25 8月, 2019 1 次提交
  28. 23 8月, 2019 1 次提交
  29. 22 8月, 2019 1 次提交
  30. 16 8月, 2019 1 次提交