1. 31 3月, 2021 1 次提交
  2. 30 3月, 2021 2 次提交
    • C
      cherry-pick add deprecated for softmax_with_cross_entropy (#31953) · b655bee2
      chajchaj 提交于
      * add deprecated for softmax_with_cross_entropy (#31722)
      
      * add deprecated for softmax_with_cross_entropy, test=develop
      
      * test for deprecated in english doc, test=develop
      
      * test deprecated for softmax_with_cross_entropy in english doc, test=develop
      
      * fix readme and English doc for cross_entropy, test=develop
      
      * rm test for softmax_with_cross_entropy deprecated, test=develop
      
      * update readme for CrossEntropyLoss, test=develop
      
      * fix readme format, test=develop
      
      * fix readme format, test=develop
      
      * fix readme format for cross_entropy, test=develop
      
      * add softmax_switch and fix softlabel for cross_entropy, test=develop
      
      * 1)recovery softmax_with_cross_entropy in fluid 2) change softmax_switch to use_softmax 3) add example for softlabel for cross_entropy, test=develop
      
      * fix Example number for cross_entropy, test=develop
      
      * fix code format, test=develop
      
      * fix for CI-Coverage, test=develop
      
      * fix for CI-Coverage, test=develop
      
      * fix ci-coverage for Non-ASCII character '\xe2' in file, test=develop
      
      * fix ci-coverage for Non-ASCII character '\xe2' in nn.layer.loss.py, test=develop
      
      * update description for doc when use_softmax=Fasle, test=develop
      
      * fix some docs and code example for cross_entropy, test=develop
      
      * delete redundant description for soft_label parameter of cross_entropy, test=develop
      
      * fix some comment for test_cross_entropy_loss.py, test=develop
      
      * cherry-pick for add deprecated,test=develop
      b655bee2
    • F
  3. 16 3月, 2021 1 次提交
  4. 02 3月, 2021 2 次提交
  5. 28 2月, 2021 1 次提交
  6. 26 2月, 2021 1 次提交
  7. 25 2月, 2021 2 次提交
  8. 24 2月, 2021 2 次提交
  9. 23 2月, 2021 6 次提交
  10. 22 2月, 2021 1 次提交
  11. 20 2月, 2021 1 次提交
    • K
      [cherry pick] dataloader fix (#31028) · 1ac6a093
      Kaipeng Deng 提交于
      * fix dataloader collate return list mix tensor and numpy array. test=develop
      
      * remove numpy array check in single-process dataloader. test=develop
      1ac6a093
  12. 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
  13. 18 2月, 2021 1 次提交
  14. 07 2月, 2021 2 次提交
  15. 05 2月, 2021 2 次提交
  16. 03 2月, 2021 1 次提交
    • 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
  17. 02 2月, 2021 1 次提交
  18. 20 1月, 2021 5 次提交
  19. 19 1月, 2021 7 次提交