1. 09 6月, 2020 1 次提交
  2. 08 6月, 2020 1 次提交
    • A
      Support LoDTensorArray in reverse_op (#24797) · 6be0ee15
      Aurelius84 提交于
      * Support LoDTensorArray in reverse_op test=develop
      
      * polish en doc and unittest code test=develop
      
      * refine sample code test=develop
      
      * add example of LoDTensorArray test=develop
      
      * fix typo test=develop
      6be0ee15
  3. 05 6月, 2020 2 次提交
  4. 04 6月, 2020 1 次提交
  5. 26 5月, 2020 1 次提交
  6. 25 5月, 2020 2 次提交
  7. 21 5月, 2020 1 次提交
  8. 20 5月, 2020 1 次提交
  9. 19 5月, 2020 1 次提交
  10. 18 5月, 2020 1 次提交
  11. 15 5月, 2020 3 次提交
    • L
      API(dynamic_gru, chunk_eval, BeamSearchDecoder) error message enhancement (#24513) · fff9faae
      liu zhengxi 提交于
      * dynamic_gru err_msg enhancement, test=develop
      
      * chunk_eval err_msg enhancement and fix crf_decoding output type, test=develop
      
      * BeamSearchDecoder err msg enhancement, test=develop
      
      * fix doc for chunk_eval, test=develop
      
      * refine lod err msg for chunk_eval, test=develop
      fff9faae
    • L
      Support int32 int64 and fix bug (#24407) · 615a8bfc
      liym27 提交于
      * Compatible int32 and int64 for attr in op slice/strided_slice. test=develop
      
      * Polish code in nn.py  test=develop
      
      * Fix bug: set the same dtype for the inputs of elementwise_add. test=develop
      
      * Convert int32 to int64 in slice op to avoid data overflow. test=develop
      
      * Convert int32 to int64 in strided_slice_op to avoid data overflow. test=develop
      615a8bfc
    • L
      Improving error reporting messages for ops (#24438) · a13a4dbc
      lilong12 提交于
      * improve error reporting message
      a13a4dbc
  12. 14 5月, 2020 7 次提交
  13. 13 5月, 2020 11 次提交
  14. 12 5月, 2020 1 次提交
  15. 11 5月, 2020 1 次提交
  16. 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
  17. 07 5月, 2020 1 次提交
  18. 06 5月, 2020 2 次提交
    • 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
    • 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