1. 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
  2. 12 10月, 2022 1 次提交
  3. 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
  4. 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
  5. 23 9月, 2022 1 次提交
  6. 22 9月, 2022 2 次提交
    • 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
  7. 21 9月, 2022 1 次提交
  8. 14 9月, 2022 1 次提交
  9. 31 8月, 2022 2 次提交
  10. 26 8月, 2022 1 次提交
  11. 23 8月, 2022 1 次提交
  12. 22 8月, 2022 1 次提交
  13. 18 8月, 2022 1 次提交
  14. 17 8月, 2022 2 次提交
  15. 11 8月, 2022 1 次提交
  16. 09 8月, 2022 1 次提交
  17. 08 8月, 2022 1 次提交
    • ReganYue's avatar
      【Fix en docs】 Fix document formatting*test=document_fix (#43996) · 8537edaa
      ReganYue 提交于
      * Update creation.py
      
      修复Returns格式问题
      
      * 【Fix en docs】 Fix document formatting
      
      修复Returns和Return Type格式问题。
      
      * 修复格式,解决中英文文档不一致问题
      
      为了解决中英文不一致的问题,统一将Returns内容第一个标点符号改成逗号。删掉Return Type
      
      * fix大量 与 Return Type 和 Return相关的文档
      
      * Convert Variable and LoDTensor to Tensor
      
      * Update python/paddle/nn/functional/common.py
      Co-authored-by: NNyakku Shigure <sigure.qaq@gmail.com>
      
      * Update detection.py
      
      * Update io.py
      
      * Update io.py
      
      * Update loss.py
      
      * Update loss.py
      
      * Update io.py
      
      * Update io.py
      
      * Update nn.py
      
      * Update nn.py
      
      * Update nn.py
      
      * Update nn.py
      
      * Update nn.py
      
      * Update nn.py
      
      * Update nn.py
      
      * Update nn.py
      
      * Update nn.py
      
      * Update nn.py
      
      * Update sequence_lod.py
      
      * Update sequence_lod.py
      
      * Update sequence_lod.py
      
      * Update sequence_lod.py
      
      * Update sequence_lod.py
      
      * Update sequence_lod.py
      
      * Update sequence_lod.py
      
      * Update sequence_lod.py
      
      * Update sequence_lod.py
      
      * Update sequence_lod.py
      
      * Update sequence_lod.py
      
      * Update metrics.py
      
      * Update metrics.py
      
      * Update metrics.py
      
      * Update metrics.py
      
      * Update metrics.py
      
      * Update nets.py
      
      * Update reader.py
      
      * Update nn.py
      
      * Update io.py
      
      * Update nn.py
      
      * Update io.py
      
      * remove Return Type to Returns
      
      * Update sequence_lod.py
      
      * Update sequence_lod.py
      
      * Update common.py
      
      * Update common.py
      
      * Update extension.py
      
      * Update creation.py
      
      * update*test=document_fix
      
      * Update io.py
      
      * Update manipulation.py
      
      * Update sequence_lod.py
      
      * Update common.py
      
      * Update common.py
      
      * Update common.py
      
      * Update common.py
      
      * update*test=document_fix
      
      * update*test=document_fix
      
      * Update loss.py
      
      * Update loss.py
      
      * update*test=document_fix
      
      * paddle.crop
      
      * for ci;test=document_fix
      
      * update io;test=document_fix
      
      * Update io.py
      
      * update sequence_expand docs;test=document_fix
      
      * update note typos;test=document_fix
      Co-authored-by: NNyakku Shigure <sigure.qaq@gmail.com>
      Co-authored-by: NLigoml <39876205+Ligoml@users.noreply.github.com>
      8537edaa
  18. 04 8月, 2022 1 次提交
    • N
      [Docs][en] adjust code example format (#44679) · d5de7886
      Nyakku Shigure 提交于
      * add name attribute to code-block, test=document_fix
      
      * remove redundant labels, test=document_fix
      
      * remove redundant labels (from upstream), test=document_fix
      
      * more COPY-FROM (try multiple code example), test=document_fix
      
      * empty commit, try to trigger PR-CI-build
      
      * fix some `Examples:` format issues
      
      * fix some ci errors
      d5de7886
  19. 03 8月, 2022 1 次提交
  20. 27 7月, 2022 1 次提交
  21. 25 7月, 2022 1 次提交
    • Y
      【Hackathon No.21】为 Paddle 新增 SoftMarginLoss (#42364) · f9cd526b
      yangguohao 提交于
      * 2022-04-28
      
      * 2022-04-28_V2
      
      * 2022-04-30
      
      * 2022-04-30_V2
      
      * 2022-05-01
      
      * 2022-05-02
      
      * 2022-05-02_V2
      
      * 2022-05-05_V1
      
      * 2022-05-06_V1
      
      * 2022-05-07_V1
      
      * Update loss.py
      
      * 2022-05-07_V2
      
      * 2022-05-13_V1
      
      * Update test_soft_margin_loss.py
      
      * Update loss.py
      
      * Update loss.py
      
      * 2022-05-16_V1
      
      * 2022-05-19_V1
      
      * 2022-05-20_V1
      
      * Update test_soft_margin_loss.py
      
      * 2022-06-01_V1
      
      * 2022-06-05
      
      * 2022-06-07
      
      * 2022-06-07
      
      * 2022-06-08
      
      * 2022-06-08_V2
      
      * 2022-06-17-code_style
      
      * Modify python
      
      * 2022-06-20
      
      * for
      
      * for CI;test=document_fix
      Co-authored-by: NLigoml <39876205+Ligoml@users.noreply.github.com>
      f9cd526b
  22. 17 6月, 2022 2 次提交
    • Y
      [PaddleHackathon No.14] (#41183) · 74c74b0f
      yangguohao 提交于
      * 2022-04-28
      
      * 2022-05-04
      
      * 2022-05-05_V1
      
      * 2022-05-05_V1
      
      * Update loss.py
      
      * Update loss.py
      
      * 2022-06-01_hook
      
      * 2022-06-05
      
      * 2022-06-07
      
      * 2022-06-07_V2
      
      * 2022-06-07_V2
      
      * 2022-06-17_codestyle
      74c74b0f
    • Y
      [Hackathon No.26] (#40487) · 9bbcca2b
      yangguohao 提交于
      * 'triplet_margin_loss'
      
      * 'test_file_corret'
      
      * '2022_03_27'
      
      * 2022_04_05
      
      * 2022-04-17_1
      
      * 2022-04-17
      
      * 2022-04-17_2
      
      * 2022-04-25
      
      * 2022-05-02_V1
      
      * 2022-05-06_V1
      
      * 2022-05-07_V1
      
      * Update loss.py
      
      * Update loss.py
      
      * Update loss.py
      
      * Update loss.py
      
      * Update loss.py
      
      * Update loss.py
      
      * Update loss.py
      
      * Update loss.py
      
      * Update loss.py
      
      * Update test_triplet_margin_loss.py
      
      * Update loss.py
      
      * 2022-06-01_pre-commit
      
      * 2022-06-05
      
      * 2022-06-06
      
      * 2022-06-06
      
      * code_style_check
      
      * code_style_check
      
      * Update loss.py
      
      * 2022-06-07_V2
      
      * Update loss.py
      
      * Update loss.py
      9bbcca2b
  23. 13 6月, 2022 1 次提交
    • Y
      【Hachathon No.30】 (#40545) · 5d48528f
      yangguohao 提交于
      * 'TripletMarginDistanceLoss'
      
      * 'test_file'
      
      * '2022_03_27'
      
      * 2022-03-31
      
      * 2022-04-05
      
      * 2
      
      * 2022-04-17
      
      * 2022-04-17_2
      
      * 2022-04-17_3
      
      * 2022-04-17_4
      
      * 2022-04-25
      
      * 2022-05-02_V1
      
      * 2022-05-06_V1
      
      * 2022-05-07_V1
      
      * Update loss.py
      
      * Update loss.py
      
      * Update loss.py
      
      * Update loss.py
      
      * Update loss.py
      
      * Update loss.py
      
      * Update loss.py
      
      * Update loss.py
      
      * Update loss.py
      
      * Update loss.py
      
      * 2022-06-01_pre-commit
      
      * 2022-06-05
      
      * 2022-06-06
      
      * 2022-06-07
      
      * 2022-06-07_V2
      5d48528f
  24. 08 6月, 2022 1 次提交
    • N
      【Hackathon No.17】为 Paddle 新增 paddle.nn.CosineEmbeddingLoss 和... · 8dab2690
      Netpunk 提交于
      【Hackathon No.17】为 Paddle 新增 paddle.nn.CosineEmbeddingLoss 和 paddle.nn.functional.cosine_embedding_loss API (#41680)
      
      * add cosine embedding loss API
      
      * new version
      
      * new version
      
      * new version
      
      * set label to int32
      
      * new version
      
      * new version-test
      
      * new version
      
      * new version
      
      * new version
      
      * new version
      
      * new version
      
      * new version
      
      * new version
      
      * new version
      
      * new version
      
      * new version
      
      * new version
      
      * new version
      
      * new version
      
      * new version
      
      * new version
      
      * new version
      
      * aligning to Chinese document
      
      * add name parameter
      
      * activate CI
      
      * fix format error
      
      * unit test code format
      
      * format code
      8dab2690
  25. 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
  26. 01 6月, 2022 1 次提交
  27. 13 5月, 2022 1 次提交
  28. 12 5月, 2022 1 次提交
  29. 18 4月, 2022 1 次提交
  30. 11 4月, 2022 1 次提交
  31. 09 4月, 2022 1 次提交
  32. 04 4月, 2022 2 次提交
    • H
      Add expand as sigmoid api (#41311) · fa250aa1
      hong 提交于
      * update epxand and sigmoid with cross entropy
      
      * skip expand as infrt check
      
      * fix sigmoid cross entropy bug
      
      * remove no grad set white list
      
      * remove no grad set
      
      * fix bug
      
      * fix sigmoid error
      
      * fix bug
      fa250aa1
    • C
      [Phi] Add softmax with cross entropy infershape & yaml (#41351) · a6b6bcbf
      Chen Weihang 提交于
      * add infershape and forward yaml
      
      * add final_state call
      
      * add base unittests
      
      * add backward yaml and test
      
      * fix without softmax test error
      
      * add cross_entropy test
      a6b6bcbf
  33. 02 4月, 2022 1 次提交
  34. 01 4月, 2022 2 次提交
    • Z
      Add nll_loss yaml (#41126) · 8e032db8
      zyfncg 提交于
      * add nll_loss yaml
      
      * fix nll loss
      
      * fix nll loss bug
      
      * fix bug
      
      * fix bug
      
      * fix infrt problem
      Co-authored-by: Nxiongkun <xiongkun03@baidu.com>
      8e032db8
    • H
      Add basic yaml backward (#40751) · 98303291
      hong 提交于
      * fix error; test=develop
      
      * update
      
      * close some yaml
      
      * fix backward attrite error; test=develop
      
      * add div test
      
      * polish code; test=develop
      
      * update
      
      * update
      
      * fix bug
      
      * update bitwise code; test=develop
      
      * update
      
      * update
      
      * fix some bug
      
      * update
      
      * revert cmakelist
      
      * fix optional bug;
      
      * fix bug
      
      * fix bug;
      
      * add backward test
      
      * open bn
      
      * update
      
      * update
      
      * revert eager_gen
      
      * polish code
      
      * fix topk error
      
      * update
      
      * update
      
      * fix bug;
      
      * move label smooth, nll loss
      
      * revert topk
      
      * fix topk label smooth bug;
      
      * remove batch_norm
      
      * remove topk
      
      * change flip infer meta
      
      * fix flip bug
      
      * update yaml
      
      * close abs
      
      * fix histogram bug
      
      * fix histogram bug
      
      * add abs
      
      * fix histogram kernel
      
      * remove expand
      98303291