1. 22 2月, 2021 1 次提交
  2. 20 2月, 2021 2 次提交
  3. 19 2月, 2021 1 次提交
    • H
      [Cherry-pick][Dy2stat] Add Support for Tuple in Loop and Refine Error Message (#31036) · 9ad9f357
      Huihuang Zheng 提交于
      * Add Support for Tuple in for Loop (#30998)
      
      Dy2stat didn't support tuple as iteration variable in the past. This PR added there main cases:
      
             1). Non-enumerate case: for var1, var2 in var|var.numpy() will be re-written as:
                for FOR_ITER_TUPLE_PREFIX_x in var | var.numpy():
                  var1 = FOR_ITER_TUPLE_PREFIX_x[0]
                  var2 = FOR_ITER_TUPLE_PREFIX_x[1]
              2). Enumerate out tuple case: for t in enumerate(var|var.numpy) will be rewritten as:
                for FOR_ITER_TUPLE_INDEX_PREFIX_x, FOR_ITER_TUPLE_PREFIX_x in enumerate(var|var.numpy):
                  t = (FOR_ITER_TUPLE_INDEX_PREFIX_x, FOR_ITER_TUPLE_PREFIX_x)
              3). Enumerate inner tuple case: for i, (var1, (var2, va3)) in enumerate(var|var.numpy()) will
              be re-written as:
                for i, FOR_ITER_TUPLE_PREFIX_x in var | var.numpy():
                  var1 = FOR_ITER_TUPLE_PREFIX_x[0]
                  var2 = FOR_ITER_TUPLE_PREFIX_x[1][0]
                  var3 = FOR_ITER_TUPLE_PREFIX_x[1][1]
      
      * Refine fake_interface Error Message (#30981)
      
      Refine fake_interface Error Message
      9ad9f357
  4. 18 2月, 2021 1 次提交
  5. 07 2月, 2021 2 次提交
  6. 05 2月, 2021 2 次提交
  7. 04 2月, 2021 1 次提交
  8. 03 2月, 2021 2 次提交
    • T
      Cherry pypi 【30726】 (#30859) · 71dc03cd
      tianshuo78520a 提交于
      * add readme in whl package
      
      * fix chinese
      
      * fix encoding
      
      * del test
      71dc03cd
    • L
      [cherry-pick] Update gather_tree (#30784) · a44b65de
      liu zhengxi 提交于
      * upgrade gather_tree to core.ops (#30697)
      
      * upgrade gather_tree to core.ops
      
      * update gather_tree unittests
      
      * update gather_tree doc (#30693)
      
      * update gather_tree doc, test=document_fix
      
      * update sample code, test=document_fix
      
      * remove tensor type, test=document_fix
      a44b65de
  9. 02 2月, 2021 1 次提交
  10. 01 2月, 2021 1 次提交
  11. 29 1月, 2021 1 次提交
    • J
      Cherry pick fix acc sample code bug (#30716) · 1c7ec536
      Jiaqi Liu 提交于
      * Alias from  paddle.fluid.layers.auc to paddle.static.auc (#30206)
      
      * add alias from  fluid.layers.auc to static.auc
      
      * Update __init__.py
      
      * add auc into all list
      
      * alias acc, expose to users
      
      * add auc into 'all' list (#30310)
      
      * add auc into 'all' list
      
      * alias acc, expose to users
      
      * update sample code
      
      * fix paddle.static.acc and auc sample code bug, test=document_fix
      1c7ec536
  12. 20 1月, 2021 8 次提交
  13. 19 1月, 2021 14 次提交
  14. 18 1月, 2021 3 次提交