1. 07 4月, 2021 1 次提交
    • C
      cherry-pick:add softmax_switch for softmax_with_cross_entropy_op (#32105) · 97cd7089
      chajchaj 提交于
      * cherry-pick:add softmax_switch for softmax_with_cross_entropy_op, test=develop
      
      * add softmax_switch for softmax_with_cross_entropy_op, test=develop
      
      * delete using EigenMatrix in softmax_with_cross_entropy_op.h, test=develop
      
      * add REGISTER_OP_VERSION for softmax_switch attr of softmax_with_cross_entropy_op, test=develop
      
      * cherry-pick:add softmax_switch for softmax_with_cross_entropy_op,test=develop
      
      * change softmax_switch to use_softmax, test=develop
      
      * fix code format for softmax_with_cross_entropy_op.cc, test=develop
      97cd7089
  2. 06 4月, 2021 1 次提交
  3. 30 3月, 2021 1 次提交
    • 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
  4. 26 2月, 2021 1 次提交
  5. 15 1月, 2021 1 次提交
    • P
      Cherry pick 30072 (#30499) · 590e718b
      pangyoki 提交于
      * Cherry-pick 30072, add dispenable input for core.ops.reshape2/expand/slice (#30072)
      
      * add dispenable input 'shape' for core.ops.reshape2
      
      * add dispenable inputs for core.ops.reshape2/expand/slice
      
      * add ut
      
      * save reshape update in pr 30180
      
      * save reshape update v2 in pr 30180
      Co-authored-by: NLeo Chen <chenqiuliang@baidu.com>
      590e718b
  6. 14 1月, 2021 1 次提交
    • C
      fix bug of celoss when using ignore_index and reduction (#30395) · c22ee575
      chajchaj 提交于
      * fix bug of celoss when using ignore_index and reduction (#30180)
      
      * fix bug of using ignore_index and reduction,test=develop
      
      * fix bug of celoss when using ignore_index and reduction, test=develop
      
      * improve performance when ignore_index=-100, test=develop
      
      * add test in test_cross_entropy_loss.py for coverage rate, test=develop
      
      * rm comment in test_cross_entropy_loss.py, test=develop
      
      * del  hard code of "float64" in python/paddle/nn/functional/loss.py, test=develop
      
      * change mask to a more simplified implementation, test=develop
      
      * del comment in python/paddle/nn/functional/loss.py, test=develop
      
      * del hard code and change mask to a more simplified implementation, test=develop
      
      * change mask to a more simplified implementation, test=develop
      
      * change mask to a more simplified implementation, test=develop
      
      * fix bug of celoss when using ignore_index and reduction (#30180)
      
      * fix bug of using ignore_index and reduction,test=develop
      
      * fix bug of celoss when using ignore_index and reduction, test=develop
      
      * improve performance when ignore_index=-100, test=develop
      
      * add test in test_cross_entropy_loss.py for coverage rate, test=develop
      
      * rm comment in test_cross_entropy_loss.py, test=develop
      
      * del  hard code of "float64" in python/paddle/nn/functional/loss.py, test=develop
      
      * change mask to a more simplified implementation, test=develop
      
      * del comment in python/paddle/nn/functional/loss.py, test=develop
      
      * del hard code and change mask to a more simplified implementation, test=develop
      
      * change mask to a more simplified implementation, test=develop
      
      * change mask to a more simplified implementation, test=develop
      c22ee575
  7. 30 12月, 2020 1 次提交
    • C
      [cherry-pick] Fix 2.0 bugs (#29992) · faf2bb39
      Chen Long 提交于
      * fix doc bugs test=document_fix
      
      * fix code bugs test=document_fix
      
      * fix code bugs test=document_fix
      
      * fix doc bugs test=document_fix
      
      * fix doc bugs test=document_fix
      
      * fix doc bugs test=document_fix
      faf2bb39
  8. 07 12月, 2020 1 次提交
  9. 03 12月, 2020 1 次提交
  10. 01 12月, 2020 1 次提交
  11. 30 11月, 2020 1 次提交
  12. 27 11月, 2020 1 次提交
  13. 26 11月, 2020 2 次提交
  14. 25 11月, 2020 2 次提交
  15. 24 11月, 2020 3 次提交
  16. 23 11月, 2020 1 次提交
  17. 20 11月, 2020 1 次提交
  18. 19 11月, 2020 1 次提交
  19. 18 11月, 2020 1 次提交
  20. 04 11月, 2020 1 次提交
  21. 16 10月, 2020 1 次提交
  22. 14 10月, 2020 2 次提交
    • C
      Remove and reorganize the alias of APIs (#27717) · d05058d2
      chentianyu03 提交于
      * modify cond while_loop to paddle.static.nn.cond
      
      * modify crop_tensor to paddle.crop
      
      * modify Variable to paddle.static.Variable
      
      * remove nn.beam_search, nn.beam_search_decode, nn.gather_tree
      
      * remove bpr_loss, center_loss, rank_loss, smooth_l1, teacher_student_sigmoid_loss, edit_distance, sampled_softmax_with_cross_entropy in nn.functional
      
      * remove apis in nn.functional.learn_rate.py
      
      * remove pool2d, pool3d, adaptive_pool2d, adaptive_pool3d in nn.functional
      
      * remove apis in nn.functional.vision
      
      * remove erf, soft_relu in nn.functional.activation
      
      * remove apis in nn.functional.extension
      
      * remove nn.functional.rnn
      
      * remove hash from nn.functional.lod
      
      * remove row_conv from nn.functional.extension
      
      * remove one_hot, pad2d, pad_constant_like from nn.functional.common
      
      * remove nn.gather_tree, nn.BilinearTensorProduct, nn.Pool2D, nn.Pad2D
      
      * remove apis from optimizer.__init
      
      * remove tensor.creation.fill_constant
      
      * remove elementwise_mul in nn.functional.common and  modify to paddle.multiply
      
      * remove  tensor.stat.reduce_mean
      
      * remove reduce_all, reduce_any in tensor.logic
      
      * remove apis in tensor.math
      
      * remove apis in tensor.__init__
      
      * remove has_inf, has_nan in tensor.search
      
      * remove apis in framework.__init__
      
      * remove apis in paddle.__init__
      
      * remove apis in nn.functional.__init__
      
      * modify removed alias apis to raw api in doc and unittests
      
      * fix remove grid_sample bug
      
      * modify removed alias apis to raw api in doc and unittests
      
      * modify removed alias apis to raw api in doc and unittests
      
      * modify removed alias apis to raw api in doc and unittests
      
      * modify removed alias apis to raw api in doc and unittests
      
      * modify removed alias apis to raw api in doc and unittests
      
      * modify removed alias apis to raw api in doc and unittests
      
      * delete alias api relastions in doc
      
      * reserve paddle.compat, paddle.sysconfig
      
      * remove unittest for paddle.reduce_all, paddle.reduce_any
      
      * modify removed alias apis to raw api in doc and unittests
      
      * recover paddle.save and paddle.load
      
      * resolve conflicts
      
      * fix sample code missing paddle.enable_static() bug
      
      * fix sample code missing paddle.enable_static() bug
      
      * fix to_string sample code error
      d05058d2
    • C
      del the DEFINE_ALIAS of sigmoid_cross_entropy_with_logits (#27883) · 35734138
      chajchaj 提交于
      * del the DEFINE_ALIAS of sigmoid_cross_entropy_with_logits
      
      * del sigmoid_cross_entropy_with_logits in python/paddle/nn/functional/loss.py, test=develop
      
      * call paddle.fluid.layers.sigmoid_cross_entropy_with_logits in bce_with_logits_loss, test=develop
      35734138
  23. 12 10月, 2020 1 次提交
  24. 09 10月, 2020 2 次提交
  25. 08 10月, 2020 2 次提交
  26. 27 9月, 2020 1 次提交
    • L
      add support to float64 input of warpctc op. (#27399) · 1501a80f
      Li Fuchen 提交于
      * add float64 input to ctc_loss
      
      * modified error message of  warpctc
      
      * update repo and tag of warpctc
      
      * add test for warpctc with float64 input
      
      * modified warpctc.cmake to make sure build always
      
      * resolved sample code bug of warpctc
      
      * add core.ops in warpctc dygraph
      
      * fix a bug of test
      1501a80f
  27. 18 9月, 2020 1 次提交
  28. 10 9月, 2020 1 次提交
  29. 08 9月, 2020 1 次提交
  30. 04 9月, 2020 1 次提交
  31. 31 8月, 2020 1 次提交
  32. 29 8月, 2020 1 次提交
  33. 24 8月, 2020 1 次提交