1. 13 5月, 2020 4 次提交
  2. 12 5月, 2020 5 次提交
  3. 11 5月, 2020 1 次提交
  4. 09 5月, 2020 5 次提交
  5. 08 5月, 2020 9 次提交
    • H
      Fix np ndarray mul varbase (#24331) · 6d8dcc74
      hong 提交于
      * fix numpy ndarray mul var base error; test=develop
      
      * add comment for __array_ufunc__ ; test=develop
      
      * move unitest from imperative math op path to test_math_op_patch_var_base;
      test=develop
      6d8dcc74
    • H
      Fix get item out of range error (#24339) · 67f66f09
      hong 提交于
      * raise index error when slice out of range; test=develop
      
      * add uni test; test=develop
      
      * fix format error; test=develop
      
      * add comment for py::index_error; test=develop
      
      * polish error message; test=develop
      
      * polish error message; test=develop
      67f66f09
    • W
      Enabled quantize all and skip missing in QAT (#24281) · db052009
      Wojciech Uss 提交于
      * Enabled quantize all and skip missing in QAT
      db052009
    • H
      Fix dygraph exit issue (#24347) · 5f65d9d5
      hong 提交于
      * add clean up; test=develop
      
      * add import; test=develop
      5f65d9d5
    • A
      [dy2static] Support for static graph training with @declarative decorator (#24259) · 1ed8baf9
      Aurelius84 提交于
      * support to train in static
      
      * support to independent decorator
      
      * remove in_dygraph_mode condition in ProgramTranslator
      
      * fix import param_guard and add train/eval test=develop
      
      * Modify into ShareVarsFromScope and rm __all__ in partial_program test=develop
      1ed8baf9
    • C
      2424297f
    • 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
    • L
      Fix error message of load_inference_model (#24314) · 5b285470
      Leo Chen 提交于
      * fix error message, test=develop
      
      * add unittest, test=develop
      5b285470
  6. 07 5月, 2020 3 次提交
  7. 06 5月, 2020 4 次提交
    • 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
    • C
      polish print format, test=develop (#24312) · c78da18d
      Chen Weihang 提交于
      c78da18d
    • X
      Fix dygraph rnn doc (#24148) · f79526c2
      Xing Wu 提交于
      * update dygraph.rnn import
      
      * update dygraph.rnn import
      
      * change unit to cell
      
      * fix math equations
      
      * fix math equations
      
      * fix examples
      
      * remove unused import
      
      * fix examples
      f79526c2
    • X
      Fix error info (#23891) · fff5cfa3
      Xing Wu 提交于
      * fix error info for rnn related api
      
      * passed local test, test=develop
      
      * double check the code
      
      * double check the code, test=develop
      
      * update 'shape' check in RNNCell, test=develop
      
      * add long dtype to RNNCell
      
      * fix long type in python3
      Co-authored-by: NXingWu01 <wuxing@iie.ac.cn>
      fff5cfa3
  8. 01 5月, 2020 1 次提交
  9. 30 4月, 2020 8 次提交