1. 15 5月, 2020 2 次提交
    • A
      [Dy2stat] Fix function lookup bug in convert_call (#24567) (#24571) · eb0ca3b7
      Aurelius84 提交于
      * fix convert call globals_funcs test=develop
      
      * add import statement test=develop
      eb0ca3b7
    • A
      [cherry-pick][Dy2stat] training with @declarative decorator and save_inference_model (#24557) · a20ce3ee
      Aurelius84 提交于
      * [Dy2Stat] Add test for ptb model. (#24076)
      
      * [Dy2Stat] Add test for ptb model. test=develop
      
      * Simplify code for gast.If in is_control_flow_to_transform. test=develop
      
      * Move IsControlFlowVisitor to file utils. test=develop
      
      * Don't use convert_call for build-in func in CallTransformer. test=develop
      
      * Optimize api is_control_flow_to_transform. test=develop
      
      * Polish the document of IsControlFlowVisitor. test=develop
      
      * Use declarative instead of dygraph_to_static_func. test=develop
      
      * [dy2static] Add print transformer and unify print format (#24068)
      
      * 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
      
      * [dy2static] Support for static graph training with @declarative decorator (#24259)
      
      * support to train in static
      
      * support to independent decorator
      
      * remove in_dygraph_mode condition in ProgramTranslator
      
      * fix import param_guard and add train/eval test=develop
      
      * Modify into ShareVarsFromScope and rm __all__ in partial_program test=develop
      
      * [Dy2Stat] Optimize loop cond (#24049)
      
      * Simplify code for gast.If in is_control_flow_to_transform.
      * Move IsControlFlowVisitor to file utils. 
      * Don't use convert_call for build-in func in CallTransformer. 
      * Optimize api is_control_flow_to_transform. 
      * Polish the document of IsControlFlowVisitor.
      
      * revert modification from #24259
      
      * [dy2stat]Support save_inference_model in program_translator (#24353)
      
      * support save_inference_model in program_translator test=develop
      
      * fix compatibility with OrderedDict.values() in python3 test=develop
      
      * synchronized random_seed test=develop
      
      * Polish Error Message test=develop
      
      * Fix bug with `if Tensor` in is_control_flow (#24433)
      
      * fix bug with `if Tensor` in is_control_flow test=develop
      
      * remove continue test=develop
      
      * Revert "[dy2static] Add print transformer and unify print format (#24068)"
      
      This reverts commit 09dd0190.
      
      * Revert "[dy2static] Add print transformer and unify print format (#24068)"
      
      This reverts commit 09dd0190.
      
      * fix sample code in sava_inference_model test=develop
      Co-authored-by: Nliym27 <33742067+liym27@users.noreply.github.com>
      Co-authored-by: NChen Weihang <chenweihang@baidu.com>
      a20ce3ee
  2. 13 5月, 2020 1 次提交
  3. 28 4月, 2020 2 次提交
  4. 27 4月, 2020 1 次提交
  5. 26 4月, 2020 1 次提交
  6. 25 4月, 2020 1 次提交
    • Y
      Init complex number neural network (#24018) (#24126) · 93fd4081
      Yibing Liu 提交于
      * Init complex number neural network, test=release/2.0
      
      * Improve doc writing
      
      * Fix elementwise add & sub
      
      * Fix elementwise mul act
      
      * a) add ut for complex variable; b) remove arg act in elementwise_ops
      93fd4081
  7. 24 4月, 2020 1 次提交
  8. 21 4月, 2020 1 次提交
  9. 20 4月, 2020 1 次提交
    • L
      [Cherry-pick Release/2.0] Support recursive call. (#23960) · 38eac880
      liym27 提交于
      * [Cherry-pick][dy2static]Support recursive call (#23900)
        * Support recursive call.
      
        * Remove Redundant decorator to pass the Py35 unittest temporarily.
      
      * [Cherry-pick]Fix bug in convert_call because difference exists between python3 and python2. (#23966 )
      38eac880
  10. 19 4月, 2020 2 次提交
  11. 18 4月, 2020 1 次提交
    • L
      [cherry-pick] fix bug basic transformer (#23951) · 8ab4890a
      liym27 提交于
      * [Cherry-pick Release/2.0] remove redundant visit func, test=develop (#23877)
      
      * [Cherry-pick Release/2.0] [dy2static]Fix a bug of is_dygraph_api and move BasicApiTransformer to a separate file(#23923)
      
      * Move BasicApiTransformer to a separate file. test=develop
      
      * Fix a bug: A api in module is not a real dygraph api in dygraph_to_static. test=develop
      Co-authored-by: NChen Weihang <chenweihang@baidu.com>
      8ab4890a
  12. 17 4月, 2020 1 次提交
  13. 15 4月, 2020 1 次提交
  14. 12 4月, 2020 1 次提交
  15. 11 4月, 2020 2 次提交
  16. 10 4月, 2020 16 次提交
  17. 09 4月, 2020 5 次提交