• 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
loss.py 72.4 KB