1. 16 10月, 2020 1 次提交
  2. 17 9月, 2020 1 次提交
  3. 31 8月, 2020 1 次提交
  4. 07 8月, 2020 1 次提交
    • L
      [Dy2Stat-ErrorMessage]Optimize error value to improve readability when error... · 168ea223
      liym27 提交于
      [Dy2Stat-ErrorMessage]Optimize error value to improve readability when error raised in runtime.  (#25970)
      
      * don't remove op_callstack
      
      * [Dy2Stat-ErrorMessage] Optimize error value to improve readability if error raised in run-time. 
        1. update op_callstack with original information;
        2. simplify error value to improve readability if error raised in run-time.
      
      * Fix error in Python3. 
      168ea223
  5. 04 8月, 2020 1 次提交
  6. 16 7月, 2020 1 次提交
  7. 30 6月, 2020 1 次提交
    • H
      [Dy2stat] Support Various-Length Return Grammar in Dy2stat (#25249) · 5e8e6dad
      Huihuang Zheng 提交于
      Support Various-Length Return Grammar in Dy2stat. This PR is a follow-up of https://github.com/PaddlePaddle/Paddle/pull/25176 .
      
      The basic idea is putting no-value placeholder variables at `return` statement to make all `return` statement have same length, after that the static graph can have fixed fetch output (code at return_transformer.py). Then remove those no-value placeholder when we finally return dygraph result (code at partial_program.py).
      
      However, various length return in Bert model is still not supported. The dy2stat can change the code as I wish but some ops which check shape at compile time (e.g. Reshape, MatMul) will throw error because of the no-value-placeholder may not have the required shape. Is this a matter? To me, those no-value placeholder will be replaced as really values meeting shape requirements at run time, so I think the solution should be some way to do the compile-time checking. By the way, every time when we have dynamic shape, it often causes problem in dy2stat. We should find a way to handle it in the future.
      
      Fixing various return in Bert is my TODO thing and I will also find some other existing models for verification.
      5e8e6dad
  8. 29 6月, 2020 1 次提交
    • A
      [Dy2stat]Support buffers and register_buffer in Layer (#24888) · 02adf68d
      Aurelius84 提交于
      * support to save varBase created in __init__ test=develop
      
      * polish code test=develop
      
      * refine to_static_var test=develop
      
      * refine warning test=develop
      
      * add unitteset for to_static_var test=develop
      
      * fix logger test=develop
      
      * polish buffers en doc test=develop
      
      * fix param_guard test=develop
      
      * refine en doc test=develop
      02adf68d
  9. 24 6月, 2020 1 次提交
  10. 28 5月, 2020 1 次提交
  11. 09 5月, 2020 1 次提交
  12. 08 5月, 2020 1 次提交