1. 02 11月, 2022 2 次提交
  2. 01 11月, 2022 2 次提交
    • N
      [CodeStyle][E711] use `is`/`is not` for comparison with `None` (#47452) · a35a4a53
      Nyakku Shigure 提交于
      * [CodeStyle][E711] use `is`/`is not` for comparison with `None`
      
      * `self.assertTrue($A is None)` -> `self.assertIsNone($A)`
      
      * `self.assertTrue($A is not None)` -> `self.assertIsNotNone($A)`
      
      * `self.assertFalse($A is None)` -> `self.assertIsNotNone($A)`
      
      * `self.assertEqual($A, None)` -> `self.assertIsNone($A)`
      
      * `self.assertNotEqual($A, None)` -> `self.assertIsNotNone($A)`
      a35a4a53
    • N
      [CodeStyle][E712] use `if cond`/`if cond is True` for comparison with `True` (#47464) · 5a2ab683
      Nyakku Shigure 提交于
      * [CodeStyle][E712] use `if cond`/`if cond is True` for comparison with `True`
      
      * revert changes in fluid
      
      * revert unrelated file
      
      * revert changes in norm
      
      * revert changes in auto_parallel_amp
      
      * fix norm and auto_parallel_amp
      
      * revert a typo fix due to fixed at #47477
      5a2ab683
  3. 31 10月, 2022 1 次提交
  4. 23 10月, 2022 1 次提交
  5. 12 10月, 2022 1 次提交
  6. 23 9月, 2022 1 次提交
  7. 22 9月, 2022 1 次提交
    • Fix the En docs (delete some expression like 'This OP') (#46165) · 3a928a8c
      张春乔 提交于
      * 1. Delete some expression like 'This Op'
      2. remove import numpy as np
      
      * test=document_fix
      
      * fix eg; test=document_fix
      
      * fix 'import numpy' cases; test=document_fix
      
      * fix 'import numpy' cases; test=document_fix
      
      * fix some docs; test=document_fix
      
      * delete raise; test=document_fix
      
      * add some introduction; test=document_fix
      
      * add some introduction; test=document_fix
      
      * test=document_fix
      
      * Fix ’note‘ format; test=document_fix
      
      * Fix Returns of cholesky; test=document_fix
      
      * Fix Example format; test=document_fix
      
      * Fix det; test=document_fix
      
      * Fix eig; test=document_fix
      
      * Fix eigh; test=document_fix
      
      * Fix eigh; test=document_fix
      
      * Apply suggestions from code review;test = document_fix
      Co-authored-by: NNyakku Shigure <sigure.qaq@gmail.com>
      
      * Apply suggestions from code review;test = document_fix
      Co-authored-by: NNyakku Shigure <sigure.qaq@gmail.com>
      
      * Apply suggestions from code review;test = document_fix
      Co-authored-by: NNyakku Shigure <sigure.qaq@gmail.com>
      
      * test=document_fix
      
      * test=document_fix
      
      * KLDiv;test=document_fix
      
      * norm example code; test=document_fix
      
      * revert python/paddle/fluid/**/*
      
      * revert python/paddle/distributed/spawn.py
      
      * revert python/paddle/fluid/*
      
      * fix a `Note` format
      
      * Fix inv; test=document_fix
      
      * Fix lu; test=document_fix
      
      * Fix lu_unpack; test=document_fix
      
      * Fix matrix_power; test=document_fix
      
      * Fix multi_dot; test=document_fix
      
      * Fix solve; test=document_fix
      Co-authored-by: NNyakku Shigure <sigure.qaq@gmail.com>
      3a928a8c
  8. 20 9月, 2022 1 次提交
  9. 14 9月, 2022 1 次提交
  10. 02 9月, 2022 1 次提交
  11. 26 8月, 2022 1 次提交
  12. 15 8月, 2022 1 次提交
  13. 02 8月, 2022 1 次提交
    • W
      [Eager] use eager final state instead intermediate state (#44722) · f1873b90
      Weilong Wu 提交于
      * [Eager] call final_state_slice under eager mode
      
      * rm useless comments
      
      * use eager final state instead intermidiate state
      
      * update fill_constant yaml
      
      * update fill_constant yaml
      
      * modify wrapped_infermeta_gen logic to fix special case
      
      * fix slice in manipulation
      
      * use fill_constant_
      
      * modify slice infermeta
      
      * rm final_state_conv2d
      
      * use final_state_slice
      
      * use final_state_slice only
      
      * polish slice, use final state
      
      * add paddle_throw for SplitInferMeta
      
      * rm fill_constant_ temply
      
      * recover array_equal, not allclose
      
      * recover original code
      f1873b90
  14. 20 7月, 2022 1 次提交
  15. 05 6月, 2022 1 次提交
    • S
      【code format check upgrade】 step2:yapf (#42944) · a072fca8
      Sing_chan 提交于
      * use yapf to format all python file
      
      * yapf exclude two unittests file for they rely on writing and reading file, and format will break them
      
      * disable diff_py_file because too many diff files cause command following failed
      a072fca8
  16. 31 5月, 2022 1 次提交
  17. 23 2月, 2022 1 次提交
  18. 22 2月, 2022 1 次提交
  19. 29 12月, 2021 1 次提交
  20. 13 10月, 2021 1 次提交
  21. 20 8月, 2021 1 次提交
  22. 06 8月, 2021 1 次提交
    • S
      paddle/nn fix formula bugs (#34643) · 0f19ac7c
      sunzhongkai588 提交于
      * fix paddle.optimizer test=document_fix
      
      * fix paddle.optimizer test=document_fix
      
      * fix bugs in paddle.nn.functional document test=document_fix
      
      * fix bugs in paddle.nn.functional document test=document_fix
      
      * fix bugs in paddle.nn.functional document test=document_fix
      
      * fix bugs in paddle.nn.functional document test=document_fix
      
      * fix nn formula bugs test=document_fix
      
      * fix nn formula bugs test=document_fix
      
      * fix nn formula bugs test=document_fix
      0f19ac7c
  23. 26 7月, 2021 1 次提交
  24. 15 7月, 2021 1 次提交
  25. 01 6月, 2021 1 次提交
  26. 31 5月, 2021 1 次提交
  27. 29 4月, 2021 1 次提交
  28. 27 4月, 2021 1 次提交
    • Z
      update 2.0 public api in nn (#31912) · 3b81f2b8
      zhiboniu 提交于
      * update 2.0 public api in nn
      
      * replace Chinese character cause error in ci;synchronization with pr:#32588 to avoid 'ascii' codec in python2
      
      * numbers used in paddle.nn.functional.norm but not imported
      3b81f2b8
  29. 26 4月, 2021 1 次提交
  30. 06 1月, 2021 4 次提交
  31. 29 11月, 2020 1 次提交
  32. 26 11月, 2020 1 次提交
  33. 25 11月, 2020 1 次提交
  34. 24 11月, 2020 1 次提交
    • L
      Upgrade string literals to raw string (#28989) · 3815d7aa
      Leo Chen 提交于
      * upgrade comment string to raw string
      
      * fix string in
      
      * fix string with ' '
      
      * revert update on comments
      
      * upgrade only necessary
      
      * fix sample code checker
      
      * fix comments with '''
      3815d7aa
  35. 26 10月, 2020 1 次提交
    • C
      [cherry pick ] cherry pick 28108 28198 28199 from release2.0rc (#28215) · 99408718
      cnn 提交于
      * Release 2.0rc cherry pick api rename #28108 (#28184)
      
      * rename count_include_pad-->exclusive  return_indices-->return_mask
      
      * remove track_running_stats
      
      * fix typo.
      
      * rename xxxd-->xxxxD
      
      * solve conflicts
      
      * 2.0rc api add all any (#28199)
      
      * reduce trt warning message (#28011)
      
      add paddle.enable_static() on sample code
      
      alias recude_all-->all, reduce_any-->any
      
      add import reduce_all and reduce_any in python/paddle/tensor/math.py
      
      import all and any in python/paddle/tensor/__init__.py
      
      remove all and any OP in python/paddle/tensor/logic.py, add all and any OP in python/paddle/tensor/math.py
      
      fix import error
      
      remove TestAllAPI temporary
      
      * fix doc of recdue_all and reduce_any, test=document_fix
      
      * fix typo
      
      * fix unittest for all and any API
      Co-authored-by: NPei Yang <peiyang@baidu.com>
      
      * rename conv_transposeXd-->convXd_transpose (#28198)
      
      * fix sample code of reduce_all and reduce_any
      Co-authored-by: NPei Yang <peiyang@baidu.com>
      99408718