1. 08 5月, 2020 4 次提交
    • 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
    • Z
      fs_wrapper add __all__ (#24335) · f62dfc62
      zhangchunle 提交于
      f62dfc62
    • 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 10 次提交
  6. 29 4月, 2020 2 次提交
  7. 28 4月, 2020 8 次提交
  8. 27 4月, 2020 6 次提交
  9. 26 4月, 2020 2 次提交