1. 17 9月, 2020 2 次提交
  2. 11 9月, 2020 1 次提交
  3. 07 9月, 2020 1 次提交
  4. 02 9月, 2020 1 次提交
  5. 31 8月, 2020 2 次提交
  6. 28 8月, 2020 1 次提交
    • L
      [Dy2Stat] Add debugging and logging mechanism for dygraph to static (#26457) · b1f9ed60
      liym27 提交于
      * [Dy2Stat] Add debugging and logging mechanism for dygraph to static. 
      
      * Remove TransformerError temporarily. 
      
      * import mock in PY2, from unittest import mock in PY3. test=develop
      
      * Expose interfaces set_code_level and set_verbosity in paddle.jit, fix doc of the two interface. 
      
      * polish doc of set_verbosity and set_code_level. 
      b1f9ed60
  7. 27 8月, 2020 1 次提交
  8. 19 8月, 2020 1 次提交
  9. 07 8月, 2020 2 次提交
    • 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
    • L
      [Dy2Stat-ErrorMessage]Enhance original error and create new exception (#25798) · 12bf9d71
      liym27 提交于
      * [Dy2Stat-ErrorMessage]Enhance original error and create new exception. test=develop
      
      * Delete redundant code and change func name to create_and_update_origin_info_map. 
      
      * optimize loop_transformer. 
      
      * fix bug in print_transformer.
      
      * Modify code according to the comments.
      12bf9d71
  10. 06 8月, 2020 1 次提交
    • S
      add paddle.utils.deprecated. (#25912) · c8d0d141
      Shibo Tao 提交于
      * add paddle.utils.deprecated.
      
      * add docstring. test=develop
      
      * add alias paddle.utils.deprecated. test=develop
      
      * rm deprecated in python/paddle/fluid/annotations.py. test=develop
      
      * 1. check version before warning. 2. bug fix. test=develop
      
      * bug fix. test=develop
      
      * use paddle.fluid.require_version. test=develop
      
      * fix doc
      
      * fix doc. test=develop
      
      * fix doc. test=develop
      
      * bug fix. test=develop
      
      * use packaging.version. test=develop.
      
      * enhance doc. test=develop
      
      * add compare_version function. test=develop
      
      * add version.py. test=develop
      
      * remove packaging. test=develop
      
      * move compare_version to deprecated.py. test=develop
      
      * remove print. test=develop
      
      * fix. test=develop
      
      * fix. test=develop
      
      * fix. test=develop
      
      * fix. test=develop
      
      * inline. test=develop
      
      * fix. test=develop
      c8d0d141
  11. 04 8月, 2020 1 次提交
  12. 29 7月, 2020 1 次提交
  13. 14 7月, 2020 1 次提交
    • C
      [Dy2static] Refactor ProgramTranslator save_inference_model API (#24989) · 41d22472
      Chen Weihang 提交于
      * experimental refactoring, test=develop
      
      * add TranslatedLayer & remove StaticModelRunner, test=develop
      
      * revert tracedlayer change, test=develop
      
      * fix test_mnist unittest error, test=develop
      
      * add doc & examples, test=develop
      
      * polish doc details, test=develop
      
      * add imperative.jit module, test=develop
      
      * change TranslatedLayer pos, test=develop
      
      * adjust jit module import path, test=develop
      
      * polish doc based review result
      
      * add SaveLoadConfig.separate_params to save paraams separately
      
      * add Layer.buffer support, test=develop
      
      * polish doc details based review result, test=develop
      
      * polish details baesd review comments, test=develop
      
      * add empty str check for param, test=develop
      
      * add unittests, test=develop
      
      * polish details based review comment, test=develop
      
      * remove blanks in comment, test=develop
      
      * polish doc details, test=develop
      
      * update imperative doc link, test=develop
      
      * add api attr for load, test=develop
      41d22472
  14. 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
  15. 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
  16. 19 6月, 2020 2 次提交
  17. 28 5月, 2020 1 次提交
  18. 27 5月, 2020 1 次提交
  19. 15 5月, 2020 2 次提交
  20. 09 5月, 2020 2 次提交
  21. 08 5月, 2020 1 次提交
  22. 06 5月, 2020 1 次提交
    • 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
  23. 30 4月, 2020 1 次提交
  24. 27 4月, 2020 1 次提交
    • C
      [dy2static] Add print transformer and unify print format (#24068) · 9b851ba2
      Chen Weihang 提交于
      * add print transformer & unify print format, test=develop
      
      * remove using of dygraph_to_static_func, test=develop
      
      * remove python stdout capture, test=develop
      
      * fix compatibility problems for PY2, test=develop
      
      * fix detail error, test=develop
      
      * fix type analysis bug, test=develop
      
      * fix print tuple compatible error in PY2, test=develop
      
      * replace get_func to declarative, test=develop
      
      * fix detail bug, test=develop
      
      * fix some detail problems, test=develop
      
      * change visit_call in print transformer, test=develop
      9b851ba2
  25. 19 4月, 2020 1 次提交
  26. 18 4月, 2020 1 次提交
  27. 11 4月, 2020 1 次提交
  28. 10 4月, 2020 1 次提交
  29. 09 4月, 2020 1 次提交
  30. 01 4月, 2020 1 次提交
    • H
      [Dy2stat] Add data_layer_not_check (#23351) · 1d4d89ba
      Huihuang Zheng 提交于
      1. Add data_layer_not_check because it is needed in dygraph_to_static where input can be variable size
      2. Remove warnings in static analysis because python cannot do exact static analysis
      1d4d89ba
  31. 26 3月, 2020 2 次提交
  32. 25 3月, 2020 1 次提交
  33. 23 3月, 2020 1 次提交