1. 01 11月, 2022 4 次提交
    • 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
    • Y
      [PHI]Standardise some C++ API (Part2) (#47510) · 399047d7
      YuanRisheng 提交于
      * standard_api
      
      * add hardtanh
      399047d7
    • 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
    • C
      Adapting device-specific Extra Attributes for the PHI kernel (#46342) · c923e6c9
      Chen Weihang 提交于
      * add extra attr property set
      
      * add type_info for all context
      
      * add onednn context to all context
      
      * fix context compile error
      
      * simplify conv kernel args
      
      * pass runtime attr into dev_ctx
      
      * fix marco error
      
      * clear conv_grad_kernel extra args
      
      * merge conv_grad_grad into conv_grad
      
      * clear conv2d_grad_grad extra attrs
      
      * clear yaml and eager extra attr
      
      * fix conv1d error
      
      * change to thread local
      
      * fix npu compile failed
      
      * try to fix windows compile failed
      
      * add conv2d onednn phi kernel
      
      * fix ci bugs (#36)
      
      * fix compile bugs (#38)
      
      * fix extra input transform bug (#39)
      
      * support dynamic created attr (#40)
      
      * reset extra info gen code
      
      * rm conv_grad_grad kernel
      
      * reimpl pass attr adapting
      
      * add int attr support
      
      * remove vector inputnames creating
      
      * fix map at error
      
      * Update paddle/phi/kernels/onednn/conv_grad_kernel.cc
      Co-authored-by: NSławomir Siwek <slawomir.siwek@intel.com>
      
      * remove useless extra attrs
      
      * replace mkldnn_engine by onednn_engine
      Co-authored-by: NYuanRisheng <yuanrisheng@baidu.com>
      Co-authored-by: NSławomir Siwek <slawomir.siwek@intel.com>
      c923e6c9
  2. 31 10月, 2022 2 次提交
  3. 23 10月, 2022 1 次提交
  4. 20 10月, 2022 1 次提交
  5. 19 10月, 2022 2 次提交
  6. 18 10月, 2022 1 次提交
  7. 13 10月, 2022 2 次提交
  8. 12 10月, 2022 1 次提交
  9. 11 10月, 2022 3 次提交
  10. 10 10月, 2022 3 次提交
  11. 08 10月, 2022 1 次提交
    • M
      fix some doc bug test=document_fix (#45488) · 04abcab8
      mrcangye 提交于
      * fix some doc bug test=document_fix
      
      * fix some docs issues, test=document_fix
      
      * beta -> \beta in softplus
      
      * threshold -> \varepsilon in softplus
      
      * parameter name
      
      * delta -> \delta in smooth_l1_loss
      
      * fix some docs test=document_fix
      
      * fix docs test=document_fix
      
      * fix docs && 增加空行 test=document_fix
      
      * Update python/paddle/nn/functional/activation.py, test=document_fix
      
      * Update python/paddle/nn/layer/activation.py, test=document_fix
      Co-authored-by: NSigureMo <sigure.qaq@gmail.com>
      04abcab8
  12. 29 9月, 2022 1 次提交
    • Z
      Move valid check from python to kernel (#46412) · 37bc2d7b
      Zhang Zheng 提交于
      * Move valid check from python to kernel
      
      * fix error throw
      
      * fix
      
      * invalid label check
      
      * fix
      
      * Revert "fix"
      
      This reverts commit 79fad6799cfa4b30423dbc84e67d7d843d22b84a.
      
      * Revert "invalid label check"
      
      This reverts commit 402a9707390ad5386b3222e85844b92d2e9b9fa4.
      
      * Revert "fix"
      
      This reverts commit 09ba3080ee0587447f875c19cdf060485f15ae3b.
      
      * Revert "fix error throw"
      
      This reverts commit a901bfcc2179d5c120ec29af766f392b122dab52.
      
      * Revert "Move valid check from python to kernel"
      
      This reverts commit baa03cc4ef82d8d45516c30dfb52bf5aead30748.
      
      * final fix
      
      * fix
      
      * fix
      37bc2d7b
  13. 27 9月, 2022 2 次提交
  14. 23 9月, 2022 2 次提交
  15. 22 9月, 2022 3 次提交
    • 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
    • I
      [docs] fix some format issue (#45752) · 2963e6a0
      Infinity_lee 提交于
      * fix some error
      
      * fix
      
      * fix some error
      
      * fix bugs
      
      * fix some errors
      
      * fix
      
      * Update transform.py
      
      fix some docs errors
      
      * Update normal.py
      
      fix some doc errors
      
      * Update uniform.py
      
      fix some docs errors
      
      * Update kl.py
      
      fix some docs errors
      
      * Update math.py
      
      fix some docs error
      
      * Update math.py
      
      fix heaviside links
      
      * Update loss.py
      
      fix
      
      * Update transform.py
      
      fix bugs
      
      * Update math.py
      
      fix
      
      * fix some format issue
      
      * Update normal.py
      
      * fix missing np
      
      * order imports
      
      * fix some flake8 warning
      
      * Update python/paddle/tensor/math.py
      
      * fix OP-->API
      
      * fix op
      
      * fix grid_sample format
      
      * trim trailing whitespace
      
      * empty commit, test=document_fix
      
      * empty commit
      Co-authored-by: NSigureMo <sigure.qaq@gmail.com>
      Co-authored-by: NLigoml <39876205+Ligoml@users.noreply.github.com>
      2963e6a0
    • A
      [BugFix]Fix pooling output_size bug if encounter list[Tensor] (#46352) · 18860735
      Aurelius84 提交于
      * [Check]Enhance pooling output_size type check
      
      * add unittest
      18860735
  16. 21 9月, 2022 1 次提交
  17. 20 9月, 2022 1 次提交
  18. 19 9月, 2022 1 次提交
  19. 14 9月, 2022 1 次提交
  20. 07 9月, 2022 1 次提交
  21. 05 9月, 2022 6 次提交