1. 17 10月, 2022 1 次提交
    • N
      [CodeStyle][py2] remove `compat` module (to_bytes) (#47035) · 198c7993
      Nyakku Shigure 提交于
      * [CodeStyle][py2] remove `compat` module (to_bytes)
      
      * remove some unused imports
      
      * clean up to_bytes definition and unittests
      
      * Revert "clean up to_bytes definition and unittests"
      
      This reverts commit e726539e1768172a411ff60e63fab82f164343cf.
      
      * use `b` prefix instead of `encode()`
      198c7993
  2. 12 10月, 2022 1 次提交
  3. 11 10月, 2022 1 次提交
  4. 10 10月, 2022 1 次提交
  5. 29 9月, 2022 1 次提交
  6. 28 9月, 2022 2 次提交
  7. 27 9月, 2022 2 次提交
    • W
      [Eager, Performance optimization] support divide( / operator) to sink to Cpp layer (#46329) · f20b361c
      Weilong Wu 提交于
      * [Eager] math op sink to Cpp level
      
      * fix ci errors
      
      * draft version
      
      * support + and - operator under cpp directly
      
      * add static test
      
      * polish code
      
      * promote types or unify right type to left
      
      * recover static test case
      
      * polish code and fix some ci errors
      
      * support complex and polish code
      
      * fix conflicts
      
      * fix windows ci errors
      
      * fix windows-inference-ci errors
      
      * polish and fix tests
      
      * fix test case
      
      * polish code
      
      * [Eager, Performance optimization] support multiply( * operator) to sink to Cpp layer
      
      * rm useless glog
      
      * [Eager, Performance optimization] support divide( / and // operator) to sink to Cpp layer
      
      * polish code
      
      * polish code and fix code-format
      
      * polish code
      
      * fix CI
      
      * polish code
      
      * update test
      
      * support div operator under cpp
      
      * fix scalar as input
      
      * Polish div logic, fix ci test
      
      * fix errors
      f20b361c
    • N
      [CodeStyle] remove all future import (#46411) · 30387006
      Nyakku Shigure 提交于
      * [CodeStyle] remove all future import
      
      * revert test_error.py
      
      * restore future import in example code
      30387006
  8. 26 9月, 2022 3 次提交
    • W
      [Eager, Performance optimization] support multiply( * operator) to sink to Cpp layer (#46326) · 7fb20b46
      Weilong Wu 提交于
      * [Eager] math op sink to Cpp level
      
      * fix ci errors
      
      * draft version
      
      
      * support + and - operator under cpp directly
      
      * add static test
      
      * polish code
      
      * promote types or unify right type to left
      
      * recover static test case
      
      * polish code and fix some ci errors
      
      * support complex and polish code
      
      * fix conflicts
      
      * fix windows ci errors
      
      * fix windows-inference-ci errors
      
      * polish and fix tests
      
      * fix test case
      
      * polish code
      
      * [Eager, Performance optimization] support multiply( * operator) to sink to Cpp layer
      
      * rm useless glog
      
      * polish code
      
      * polish code and fix code-format
      
      * polish code
      
      * fix CI
      
      * polish code
      7fb20b46
    • W
      [Eager, Performance optimization] math op sink to Cpp level ( + and - operator... · 23c50648
      Weilong Wu 提交于
      [Eager, Performance optimization] math op sink to Cpp level ( + and - operator as an example ) (#45811)
      
      * [Eager] math op sink to Cpp level
      
      * fix ci errors
      
      * draft version
      
      * draft version
      
      * draft version
      
      * support + and - operator under cpp directly
      
      * add static test
      
      * polish code
      
      * promote types or unify right type to left
      
      * recover static test case
      
      * polish code and fix some ci errors
      
      * support complex and polish code
      
      * fix conflicts
      
      * fix windows ci errors
      
      * fix windows-inference-ci errors
      
      * polish and fix tests
      
      * fix test case
      
      * polish code
      
      * polish code
      
      * polish code and fix code-format
      
      * polish code
      
      * polish code
      
      * polish code
      
      * polish code
      23c50648
    • Z
      Open the clip_extra flag in TracedLayer.save_inference_model (#46473) · 9a291685
      zyfncg 提交于
      * open the clip_extra flag in paddle.static.save_inference_model, test=allcase
      
      * set the defalut value of clip_extra in TracedLayer from False to True, test=allcase
      9a291685
  9. 23 9月, 2022 1 次提交
  10. 22 9月, 2022 1 次提交
  11. 21 9月, 2022 4 次提交
  12. 20 9月, 2022 1 次提交
  13. 19 9月, 2022 2 次提交
  14. 17 9月, 2022 1 次提交
  15. 15 9月, 2022 1 次提交
  16. 14 9月, 2022 3 次提交
  17. 13 9月, 2022 1 次提交
  18. 09 9月, 2022 2 次提交
    • Z
      Run_program_op add scope cache & reuse (#45813) · 369a235d
      zhangbo9674 提交于
      * add scope cache & reuse
      
      * add gc scope for end of each train step
      
      * del scope reuse for jit
      
      * refine code
      
      * test
      369a235d
    • X
      [ Dy2Static ] convert_call support staticmethod for class. (#44983) · d0096eaf
      xiongkun 提交于
      * convert_call support staticmethod for class.
      
      * while support for python container.
      It is convenient to convert more dynamic graph codes into static graphs.
      
      * cond support python container
      
      * add unittest for staticmethod convert_call
      
      * fix bugs
      
      * add unittest for item interface
      
      * fix bugs
      
      * change to np.testing.assert_allclose
      
      * code format
      
      * fix comments.
      
      * code format
      d0096eaf
  19. 08 9月, 2022 1 次提交
    • X
      [Dy2Static] fix non-local error while dealing push_pop names (#45828) · 67d77846
      xiongkun 提交于
      * 1. fix non-local error while dealing push_pop names
      2. escape "'" in push_pop_names to avoid syntax errors.
      3. unified the non-local stmt creation processes in getter and setter.
      4. split the nonlocal_names and getter/setter names.
      
      * fix bugs
      
      * 1. revert setter and getter, push_pop_names must have non-local
      
      * fix bugs.
      
      * code format
      67d77846
  20. 07 9月, 2022 2 次提交
  21. 06 9月, 2022 2 次提交
  22. 05 9月, 2022 2 次提交
  23. 02 9月, 2022 2 次提交
    • X
      [ Dy2Static ] transfer list into tensor array at runtime. (#45594) · 3be7f495
      xiongkun 提交于
      * 1. make list transformer into jit form.
      2. fix some bugs in tensor_array, such as append.
      3. enhance the function analysis visitor to recognize push/pop.
      4. add setter/getter helper to deal with 2+ name sets.
      
      * fix ci errors:
      1. add to_tensor_array logic in convert_cond
      2. fix IfExpr error.
      3. fix erros while return_names or push_pop_names is None
      4. fix slice error in a[i]=1 where a is tensor_array
      5. add pop interface in Variable
      3be7f495
    • W
      [Eager] fix spectral_norm interface under eager mode (#45655) · 31b92305
      Weilong Wu 提交于
      * [Eager] fix spectral_norm interface under eager mode
      
      * fix spectral_norm yaml config
      31b92305
  24. 31 8月, 2022 1 次提交
  25. 30 8月, 2022 1 次提交