1. 27 9月, 2020 2 次提交
  2. 14 8月, 2020 1 次提交
  3. 30 7月, 2020 1 次提交
  4. 19 5月, 2020 1 次提交
  5. 14 5月, 2020 1 次提交
  6. 13 5月, 2020 1 次提交
  7. 08 5月, 2020 2 次提交
    • H
      Add Assert Op (#24280) · 8a1a2af8
      Huihuang Zheng 提交于
      1. To make ProgramTranslator to support `assert` grammar, this PR adds `assert` python API and C++ code. 
      
      2. Fix a bug: graph_pattern_detector.h #include <gtest/gtest_prod.h> but didn't declared dependency at CMakeLists, which can cause single build failure.
      
      3. Refactoring `Formatter` in print_op to make it reusable and reuse the formatter to print in assert op.
      8a1a2af8
    • G
      Skip the process of copying LoDTensorArray in loop_vars in while_loop (#24271) · fed22045
      guofei 提交于
      目前在while_loop的执行过程中,loop_vars中的变量在每次的循环中都会进行拷贝,但是LoDTensorArray类型的变量在while循环体中已经完成了读/写的操作,即完成了更新,此时在进行拷贝属于冗余的操作,故该PR跳过每次循环中loop_vars中LoDTensorArray类型的变量的复制过程。
      
      在PaddleCV/ocr_recognition/atention模型的预测过程中进行性能测试:
      |性能|with this PR|without this PR|提升|
      |---|---|---|---|
      |速度|4957.4ms|4978.47ms|0.4%|
      fed22045
  8. 06 5月, 2020 1 次提交
    • L
      [Dy2Stat]Support list pop (#24250) · ac9a7eee
      liym27 提交于
      * Replace dygraph_to_static_func with @declarative or program_translator.get_func in test_list.py
      
      * Add comments in ConditionalBlock.
      
      * Support list pop last item. 
      
      * Support pop the i-th item. 
      
      * Support an empty tensor array as Input in assign op and set the kernel type is float.
      ac9a7eee
  9. 27 4月, 2020 1 次提交
    • C
      [dy2static] Add print transformer and unify print format (#24068) · 9b851ba2
      Chen Weihang 提交于
      * add print transformer & unify print format, test=develop
      
      * remove using of dygraph_to_static_func, test=develop
      
      * remove python stdout capture, test=develop
      
      * fix compatibility problems for PY2, test=develop
      
      * fix detail error, test=develop
      
      * fix type analysis bug, test=develop
      
      * fix print tuple compatible error in PY2, test=develop
      
      * replace get_func to declarative, test=develop
      
      * fix detail bug, test=develop
      
      * fix some detail problems, test=develop
      
      * change visit_call in print transformer, test=develop
      9b851ba2
  10. 21 4月, 2020 1 次提交
  11. 20 4月, 2020 1 次提交
  12. 18 4月, 2020 1 次提交
  13. 17 4月, 2020 2 次提交
  14. 15 4月, 2020 1 次提交
  15. 14 4月, 2020 1 次提交
  16. 13 4月, 2020 1 次提交
  17. 12 4月, 2020 2 次提交
  18. 11 4月, 2020 1 次提交
  19. 10 4月, 2020 2 次提交
  20. 09 4月, 2020 3 次提交
  21. 08 4月, 2020 1 次提交
  22. 03 4月, 2020 2 次提交
  23. 02 4月, 2020 1 次提交
  24. 25 3月, 2020 1 次提交
  25. 19 3月, 2020 1 次提交
  26. 18 3月, 2020 1 次提交
  27. 26 2月, 2020 1 次提交
    • S
      support control flow cond in dygraph mode (#22693) · b813c948
      songyouwei 提交于
      * dygraph support cond op
      test=develop
      
      * unittest coverage
      test=develop
      
      * fix coverage
      test=develop
      
      * fix for coverage
      test=develop
      
      * refine TypeError msg
      test=develop
      
      * remove restrict
      test=develop
      b813c948
  28. 25 2月, 2020 2 次提交
  29. 23 2月, 2020 1 次提交
  30. 17 2月, 2020 1 次提交
  31. 14 2月, 2020 1 次提交