1. 08 5月, 2020 2 次提交
    • 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
  2. 07 5月, 2020 3 次提交
  3. 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
  4. 01 5月, 2020 1 次提交
  5. 30 4月, 2020 9 次提交
  6. 29 4月, 2020 2 次提交
  7. 28 4月, 2020 8 次提交
  8. 27 4月, 2020 5 次提交
    • G
      Fix dygraph dropout seed. test=develop (#24177) · 663eca45
      Guo Sheng 提交于
      663eca45
    • 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
    • K
    • L
      Add trace op (#23873) · 077e5a0f
      Li Fuchen 提交于
      * add trace op, test=develop
      
      * Optimized the implementation of trace op, test=develop
      
      * fix a bug of include in trace_op.h, test=develop
      
      * move trace API from creation to math, test=develop
      
      * modified en doc. test=develop
      
      * add complex trace api
      
      * add complex sum api, test=develop
      
      * modified en doc of complex sum and trace, test=develop
      
      * modified doc and trace API, test=develop
      
      * modified en doc of trace and sum, test=develop
      
      * modified comment in complex kron API, test=develop
      
      * OP Should Not Have Unused Input, test=develop
      
      * add GetExpectedKernelType, test=develop
      077e5a0f
    • Y
      Add the implementation of inverse (#23310) · ecfddebb
      Yiqun Liu 提交于
      ecfddebb
  9. 26 4月, 2020 6 次提交