1. 22 11月, 2022 2 次提交
    • 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
  2. 18 11月, 2022 1 次提交
  3. 17 11月, 2022 1 次提交
  4. 16 11月, 2022 1 次提交
  5. 10 11月, 2022 1 次提交
  6. 03 11月, 2022 1 次提交
  7. 02 11月, 2022 1 次提交
  8. 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
  9. 31 10月, 2022 1 次提交
  10. 23 10月, 2022 1 次提交
  11. 20 10月, 2022 1 次提交
  12. 19 10月, 2022 1 次提交
  13. 18 10月, 2022 1 次提交
  14. 13 10月, 2022 1 次提交
    • Y
      【Paddle Hackathon No.11】 (#45595) · 8474392d
      yangguohao 提交于
      * 2022-08-30_update nn.layer.loss nn.functional.loss, test_file
      
      * 2022-08-30_update nn.layer.loss nn.functional.loss, test_file
      
      * fix: test_file
      
      * fix: test_file, docs, multi_margin_loss
      
      * fix: doc weight function
      
      * fix: test_multi_margin_loss
      
      * fix: weight np.testing.assert_allclose
      
      * fix: test_file
      
      * fix: en_doc
      
      * 2022-10-10
      8474392d
  15. 12 10月, 2022 1 次提交
  16. 11 10月, 2022 2 次提交
  17. 10 10月, 2022 2 次提交
  18. 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
  19. 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
  20. 27 9月, 2022 1 次提交
  21. 23 9月, 2022 2 次提交
  22. 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
  23. 21 9月, 2022 1 次提交
  24. 20 9月, 2022 1 次提交
  25. 19 9月, 2022 1 次提交
  26. 14 9月, 2022 1 次提交
  27. 07 9月, 2022 1 次提交
  28. 05 9月, 2022 4 次提交