1. 12 6月, 2020 1 次提交
  2. 11 6月, 2020 1 次提交
    • L
      [Dy2Static]Convert var.shape stmt and Convert the return variables of... · f16e2778
      liym27 提交于
      [Dy2Static]Convert var.shape stmt and Convert the return variables of Tensor-dependent 'if' staments to Tensor if it not  (#24911)
      
      * Support int and long: int or long -> six.integer_types. 
      
      * Modify test_tensor_shape: fix bug and modify comment. 
      
      * Support convert_var_shape to convert var.shape stmt
      
      * Modify code in ifelse_simple_func.py because don't support return non-Tensor in Tensor-dependent 'if' stament currently. 
      
      * Convert the return variables of Tensor-dependent 'if' staments to Tensor if it not. test=develop
      f16e2778
  3. 09 6月, 2020 1 次提交
  4. 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
  5. 05 6月, 2020 2 次提交
  6. 04 6月, 2020 1 次提交
  7. 26 5月, 2020 1 次提交
  8. 25 5月, 2020 2 次提交
  9. 21 5月, 2020 1 次提交
  10. 20 5月, 2020 1 次提交
  11. 19 5月, 2020 1 次提交
  12. 18 5月, 2020 1 次提交
  13. 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
  14. 14 5月, 2020 7 次提交
  15. 13 5月, 2020 11 次提交
  16. 12 5月, 2020 1 次提交
  17. 11 5月, 2020 1 次提交
  18. 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
  19. 07 5月, 2020 1 次提交