1. 23 11月, 2022 1 次提交
  2. 22 11月, 2022 3 次提交
    • Y
      clear fluid apis in loss.py v_1 (#48132) · 27f49254
      yuehuayingxueluo 提交于
      * clear fluid apis: center_loss, bpr_loss, edit_distance, hsigmoid, sampled_softmax_with_cross_entropy, rank_loss, margin_rank_loss,  sigmoid_cross_entropy_with_logits, huber_loss
      
      * fix python/paddle/fluid/layers/loss.py
      
      * fix test_layers.py
      
      * fix CI bug
      
      * fix nn.py
      27f49254
    • U
      [Docs]fix math api en docs issue (#47448) · 94c6ec86
      ustiniankw 提交于
      * fix_docx_stanh
      
      * fix einsum api en docs issue
      
      * fix model api en docs issue
      
      * for codestyle
      
      * fix_einsum.py_einsum, test=document_fix
      
      * fix_model.py_Model, test=ducument_fix
      
      * fix_creation.py_meshgrid, test=document_fix
      
      * fix_linalg.py_slogdet, test=document_fix
      
      * fix_loss.py_SoftMarginLoss_CrossEntropyLoss_NLLLoss_BCELoss, test=document_fix
      
      * norm.py_SyncBatchNorm, test=document-fix
      
      * norm.py_SyncBatchNorm, test=document_fix
      
      * norm.py_SyncBatchNorm, test=document_fix
      
      * list18-30, test=document_fix
      
      * refix_list1-15, test=document_fix
      
      * deletefiles, test=document_fix
      
      * fixedapi_pre-commit, test=document_fix
      
      * fix_list31-45, test=document_fix
      
      * list111, test=document_fix
      
      * some_fix, test=document_fix
      
      * some_fix, test=document_fix
      
      * somefix, test=document_fix
      
      * somefix, test=document_fix
      
      * refix, test=document_fix
      
      * refix, test=document_fix
      
      * refix, test=document_fix
      
      * refix, test=document_fix
      
      * rerfix, test=document_fix
      Co-authored-by: 梦柳's avatarLigoml <limengliu@tiaozhan.com>
      94c6ec86
    • N
      [CodeStyle][py36-][E722] remove import handling for collections.abc in... · b0eec317
      Nyakku Shigure 提交于
      [CodeStyle][py36-][E722] remove import handling for collections.abc in different python versions (#48165)
      
      b0eec317
  3. 18 11月, 2022 1 次提交
  4. 17 11月, 2022 1 次提交
  5. 16 11月, 2022 1 次提交
  6. 10 11月, 2022 2 次提交
  7. 09 11月, 2022 1 次提交
  8. 08 11月, 2022 1 次提交
  9. 03 11月, 2022 2 次提交
  10. 02 11月, 2022 3 次提交
  11. 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
  12. 31 10月, 2022 2 次提交
  13. 23 10月, 2022 1 次提交
  14. 20 10月, 2022 1 次提交
  15. 19 10月, 2022 2 次提交
  16. 18 10月, 2022 1 次提交
  17. 13 10月, 2022 2 次提交
  18. 12 10月, 2022 1 次提交
  19. 11 10月, 2022 3 次提交
  20. 10 10月, 2022 3 次提交
  21. 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
  22. 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
  23. 27 9月, 2022 2 次提交