1. 08 4月, 2021 1 次提交
    • C
      Add LayerDict class (#31951) · e45c3fa5
      chentianyu03 提交于
      * add layerdict class
      
      * add docs and test cases for LayerDict class
      
      * remove the arguments type in function define
      
      * add update inputs type check
      e45c3fa5
  2. 07 4月, 2021 1 次提交
  3. 06 4月, 2021 1 次提交
  4. 01 4月, 2021 3 次提交
    • C
      fix use_softmax=False does not work, test=develop · 68e7de26
      chajchaj 提交于
      68e7de26
    • W
      fix doc of Pooling layers (#31977) · 40e6c57b
      Wei Shengyu 提交于
      * fix doc of MaxPool1D
      
      * fix doc
      
      * fix doc format error
      
      * dbg
      
      * fix doc
      
      * dbg doc format test=document_fix
      
      * fix format test=document_fix
      
      * test doc
      
      * remove - from doc
      
      * fix indent
      
      * remove space before bracket
      
      * dbg format
      
      * fix indent test=document_fix
      
      * remove new line
      
      * fix descrip of Shape test=document_fix
      
      * add description for default value test=document_fix
      
      * fix bug test=document_fix
      40e6c57b
    • T
      fix en doc for emb (#31980) · 6b744866
      tangwei12 提交于
      * fix en doc for emb, test=document_fix;
      Change-Id: I4757e67caacd7189f068493ed45a7445f87ffb40
      6b744866
  5. 30 3月, 2021 1 次提交
    • C
      add deprecated for softmax_with_cross_entropy (#31722) · 73a6fa3e
      chajchaj 提交于
      * 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
      73a6fa3e
  6. 29 3月, 2021 2 次提交
  7. 24 3月, 2021 2 次提交
  8. 09 3月, 2021 1 次提交
  9. 04 3月, 2021 1 次提交
  10. 25 2月, 2021 1 次提交
  11. 23 2月, 2021 1 次提交
  12. 20 2月, 2021 1 次提交
  13. 11 2月, 2021 1 次提交
  14. 09 2月, 2021 1 次提交
  15. 03 2月, 2021 1 次提交
  16. 01 2月, 2021 1 次提交
  17. 15 1月, 2021 1 次提交
    • P
      Add Inplace strategy (Output reuse Input Varbase) in dygraph (#30103) · 13d75736
      pangyoki 提交于
      * add view strategy on squeeze,unsqueeze,reshape,flatten
      
      * add squeeze unittest
      
      * add unittests
      
      * use View strategy as name rather than Reuse Allacation
      
      * fix view api doc
      
      * fix format
      
      * use core.ops when input of reshape2 is Tensor
      
      * fix test_cross_entropy_loss error because of reshape2
      
      * fix test_cross_entropy_loss error because of reshape2
      
      * add inplace strategy
      
      * add elementwise_add sub
      
      * let backward op not use inplace
      
      * grad op do not use inplace
      
      * fix memory increase error and add leaf error message
      
      * delete selected_rows
      
      * change op_function
      
      * little change
      
      * solve HandleViewBetweenInputAndOutput
      
      * add unittest and leaf error message
      
      * merge view error
      
      * optimize op_function_generator format and support sum inplace op
      
      * fix format of basic_engine
      
      * fix format for framework
      
      * little change of variable wrapper
      
      * add reshape, squeeze, unsqueeze, scatter api
      
      * add relu elu tanh softmax inplace api
      
      * fix test_squeeze_op unittest
      
      * fix test_relu_op unittest
      
      * fix comment problems
      
      * delete sample code of inplace api
      
      * add reference of grad_pending_nodes in basic_engine
      
      * fix unittest name
      
      * add inplace apis into wlist
      
      * fix error message
      
      * add PADDLE_ENFORCE for set grad op twice
      
      * fix head file error
      13d75736
  18. 12 1月, 2021 1 次提交
    • C
      fix bug of celoss when using ignore_index and reduction (#30180) · 113810c5
      chajchaj 提交于
      * 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
      113810c5
  19. 11 1月, 2021 1 次提交
  20. 08 1月, 2021 2 次提交
  21. 07 1月, 2021 1 次提交
  22. 06 1月, 2021 5 次提交
  23. 04 1月, 2021 1 次提交
  24. 30 12月, 2020 1 次提交
  25. 29 12月, 2020 1 次提交
    • C
      fix code bugs (#29932) · af372858
      Chen Long 提交于
      * fix code bugs
      
      * fix code bugs test=document_fix
      
      * fix code bugs test=document_fix
      af372858
  26. 28 12月, 2020 1 次提交
    • X
      clean redundant API alias in 2.0 - part 1 (#29928) · 726c78f2
      XiaoguangHu 提交于
      * rm check_import_scipy, rm chunk_eval and mean_iou in paddle.metric.__init__.py
      
      * Revert "rm check_import_scipy, rm chunk_eval and mean_iou in paddle.metric.__init__.py"
      
      This reverts commit 179ba8c2b22bc31fe8d8a126e31820792cbd0f4e.
      
      * delete paddle.metric.chunk_eval and paddle.metric.mean_iou
      
      * delete paddle.nn.clip and paddle.nn.clip_by_norm
      
      * delete paddle.nn.functional.activation.hard_sigmoid and paddle.nn.functional.activation.hard_swish
      
      * delete paddle.nn.Pool2D, paddle.nn.BilinearTensorProduct, paddle.nn.RowConv, paddle.nn.functional.row_conv
      
      * fix extension import error
      
      * fix unittest for row_conv and Pool2D
      726c78f2
  27. 25 12月, 2020 1 次提交
  28. 16 12月, 2020 1 次提交
  29. 14 12月, 2020 1 次提交
  30. 11 12月, 2020 1 次提交
  31. 09 12月, 2020 1 次提交