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. 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
  3. 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
  4. 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
  5. 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
  6. 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
  7. 31 5月, 2022 1 次提交
    • T
      【PaddlePaddle Hackathon 2】16 新增 API RRelu (#41823) · 21e1d10f
      thunder95 提交于
      * rrelu逻辑部分
      
      * unregistered op kernel (unresolved)
      
      * commit before merge
      
      * 丰富测试用例
      
      * 修复rrelu-sig的bug
      
      * 修复cpu环境测试
      
      * 修改拼写错误
      
      * 修改code format
      
      * 尝试优化测试用例timeout的问题
      
      * 优化测试用例
      
      * 移除seed, 优化随机函数
      
      * update en doc for rrelu
      
      * fix rrelu en docs, test=document_fix
      
      * add paper link for en docs, test=document_fix
      
      * udpate en doc
      
      * add r,test=document_fix
      21e1d10f
  8. 26 4月, 2022 1 次提交
    • B
      【PaddlePaddle Hackathon 2】29、为 Paddle 新增 PixelUnshuffle 组网 API (#40728) · 5be9b824
      BrilliantYuKaimin 提交于
      * 增加PixelUnshuffle的形状推断
      
      * 增加PixelUnshuffle的算子注册
      
      * 增加PixelUnshuffle及其梯度的核函数
      
      * 增加PixelUnshuffle算子的描述
      
      * 增加PixelUnshuffle算子的签名
      
      * 在Python层面增加PixelUnshuffle
      
      * 增加PixelUnshuffle的单测
      
      * Update test_pixel_unshuffle.py
      
      * test=document_fix
      
      * Update test_pixel_unshuffle.py
      
      增加对extra_repr的测试
      
      * 修正代码格式
      
      * Update test_pixel_unshuffle.py
      
      修正对extra_repr的测试
      
      * 修改pixel_unshuffle核函数的实现位置
      
      * 修正代码格式
      
      * 完善对输入的检查
      
      * Update test_pixel_unshuffle.py
      
      * 完善pixel_unshuffle的输入检查
      
      * Update pixel_unshuffle_op.cc
      
      * Update unary.cc
      
      * add pixel_unshuffle
      
      * Update test_pixel_unshuffle.py
      
      * Update vision.py
      
      * 调整代码格式
      
      * Update vision.py
      
      * Delete extra spaces
      
      * Update pixel_unshuffle_sig.cc
      
      * Update vision.py
      
      * Update vision.py
      
      * add PixelUnshuffleGradInferMeta
      
      * remove PixelUnshuffleOpArgumentMapping
      
      * Update pixel_unshuffle_op.cc
      
      * 调整pixel_unshuffle及其梯度的核函数的实现位置
      
      * Update pixel_unshuffle_op.cc
      5be9b824
  9. 25 4月, 2022 1 次提交
    • B
      【PaddlePaddle Hackathon 2】24、为 Paddle 新增 nn.ChannelShuffle 组网 API (#40743) · bbaaf217
      BrilliantYuKaimin 提交于
      * Add infermeta for ChannelShuffle
      
      * Create channel_shuffle_grad_kernel.h
      
      * Create channel_shuffle_kernel.h
      
      * Create channel_shuffle_sig.cc
      
      * Create channel_shuffle_op.cc
      
      ChannelShuffle算子的描述
      
      * Create channel_shuffle_kernel_impl.h
      
      ChannelShuffle核函数的实现
      
      * Create channel_shuffle_grad_kernel_impl.h
      
      ChannelShuffle反向核函数的实现
      
      * Add kernel register of channel shuffle and grad
      
      注册ChannelShuffle及其反向的核函数
      
      * add nn.functional.channel_shuffle
      
      * add nn.ChannelShuffle
      
      * Create test_channel_shuffle.py
      
      * Update example of ChannelShuffle in vision.py
      
      * Update test_channel_shuffle.py
      
      * 修改channel_shuffle核函数的实现位置
      
      * 修正代码格式
      
      * 删除多余空格
      
      * 完善channel_shuffle的错误检查
      
      * Update unary.cc
      
      * Update channel_shuffle_op.cc
      
      * Update test_channel_shuffle.py
      
      * Update unary.cc
      
      * add channel_shuffle
      
      * Update test_channel_shuffle.py
      
      * Update vision.py
      
      * 调整代码格式
      
      * Update channel_shuffle_sig.cc
      
      * 更新ChannelShuffle的文档
      
      * 更新channel_shuffle的文档
      
      * remove ChannelShuffleOpArgumentMapping
      
      * add ChannelShuffleGradInferMeta
      
      * Update channel_shuffle_op.cc
      
      * 调整channel_shuffle及其梯度的核函数的位置
      bbaaf217
  10. 21 4月, 2022 1 次提交
  11. 29 3月, 2022 1 次提交
  12. 22 2月, 2022 1 次提交
  13. 10 1月, 2022 1 次提交
    • A
      Add MaxUnPool3D op and MaxUnPool1D op (#38716) · 7e31542c
      andyjpaddle 提交于
      * add maxunpool3d op
      
      * update doc for maxunpool3d op
      
      * update doc for maxunpool3d op
      
      * update doc for maxunpool3d op
      
      * update sample code for maxunpool3d
      
      * add maxunpool1d op
      
      * update some code for maxunpool1d
      7e31542c
  14. 07 1月, 2022 1 次提交
    • W
      modify mish op and add mish api (#38734) · 8c92337c
      wangxinxin08 提交于
      * add mish operator and api
      
      * remove redundant code and modify grad_atol of mish unittest
      
      * modify mish code to be consistent with other activation implementation
      8c92337c
  15. 31 12月, 2021 1 次提交
    • X
      Add fold opereators (#38613) · 8898dce1
      xiaoting 提交于
      * add fold opereators, test=develop
      
      * add fold opereators, test=develop
      
      * add fold opereators, test=develop
      
      * update fold op error test, test=develop
      
      * fix unitext, test=develop
      
      * fix unitext, test=develop
      8898dce1
  16. 15 12月, 2021 1 次提交
    • Skr.B's avatar
      Add New API nn.HingeEmbeddingLoss (#37540) · 3b85864a
      Skr.B 提交于
      * add hinge_embedding_loss
      
      * fix test_API
      
      * test_API succeed
      
      * add English doc
      
      * fixed using of expired fluid api
      
      * fix doc
      
      * fix doc and rm python/paddle/fluid/layers/loss.py
      
      * get raw python/paddle/fluid/layers/loss.py back
      
      * fix Examples bug in English doc
      
      * unique -> flatten
      
      * fix api code
      
      * fix English doc
      
      * fix functional loss English doc
      
      * fix Example doc
      
      * .numpy() -> paddle.unique()
      
      * fix unique
      
      * fix label_item_set
      
      * modified judgment equation
      
      * Got a beautiful loss equation
      
      * use paddle.to_tensor
      
      * fix loss and add static check
      
      * fix loss and add static check
      
      * delta -> margin
      3b85864a
  17. 07 12月, 2021 1 次提交
  18. 25 11月, 2021 1 次提交
    • M
      【PaddlePaddle Hackathon】6、在 Paddle 中新增 ZeroPad2d (#37151) · 81861f69
      Matsumoto GAO 提交于
      * add zeropad2d v0.1
      
      * add zeropad2d v0.2
      
      * add zeropad2d v0.3
      
      * add zeropad2d v0.3
      
      * add zeropad2d v0.3
      
      * add zeropad2d v0.4
      
      * add zeropad2d v0.5
      
      * add zeropad2d v0.5 codestyle
      
      * add zeropad2d v0.5 codestyle
      
      * add zeropad2d v0.6 functional
      
      * add zeropad2d v0.6 functional
      
      * add zeropad2d v0.6 functional
      81861f69
  19. 13 10月, 2021 1 次提交
  20. 27 8月, 2021 1 次提交
    • X
      Add unpool2d op & Expose max_unpool2d API (#35056) · ceee71a0
      xiaoting 提交于
      * add maxunppol2d op, test=develop
      
      * fix typo, test=develop
      
      * fix unpool unitest, test=develop
      
      * fix unpool code-example, test=develop
      
      * fix for unpool_op_unittest,test=develop
      
      * fix example code, test=develop
      
      * add noqa:F401, test=develop
      
      * fix converage, test=develop
      
      * fix unitest for unpool, test=develop
      
      * rename unpool2d to unpool, test=develop
      
      * rename unpool2d to unpool, test=develop
      ceee71a0
  21. 02 8月, 2021 1 次提交
    • S
      Add Identity OP (#34420) · 80f7f7ea
      shiyutang 提交于
      * test=develop
      
      * update identity
      
      * add unittest
      
      * notest,test=mac_py3
      
      * modify comment & testname
      
      * test=document_fix
      
      * update comment
      
      * test=document_fix
      
      * activate all of the CI
      80f7f7ea
  22. 26 7月, 2021 1 次提交
  23. 11 6月, 2021 1 次提交
  24. 09 6月, 2021 1 次提交
  25. 07 5月, 2021 1 次提交
    • Z
      remove packages in __all__ (#32759) · a77ade0e
      zhiboniu 提交于
      * [OPs] Bug fix, fix the segment mean for illegal syncthreads usage. (#32596) (#32610)
      
      * [OPs] Bug fix, fix the segment mean for illegal syncthreads usage.
      
      * remove packages in __all__
      
      * create new public api level paddle.callbacks;paddle.hub;paddle.utils.unique_name
      Co-authored-by: NZhong Hui <zhonghui.net@gmail.com>
      a77ade0e
  26. 06 5月, 2021 2 次提交
  27. 28 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. 25 4月, 2021 1 次提交
  30. 20 4月, 2021 1 次提交
  31. 08 4月, 2021 1 次提交
    • C
      Add LayerDict class (#31951) · e45c3fa5
      chentianyu03 提交于
      * add layerdict class
      
      * add docs and test cases for LayerDict class
      
      * remove the arguments type in function define
      
      * add update inputs type check
      e45c3fa5
  32. 04 1月, 2021 1 次提交
  33. 28 12月, 2020 1 次提交
    • X
      clean redundant API alias in 2.0 - part 1 (#29928) · 726c78f2
      XiaoguangHu 提交于
      * rm check_import_scipy, rm chunk_eval and mean_iou in paddle.metric.__init__.py
      
      * Revert "rm check_import_scipy, rm chunk_eval and mean_iou in paddle.metric.__init__.py"
      
      This reverts commit 179ba8c2b22bc31fe8d8a126e31820792cbd0f4e.
      
      * delete paddle.metric.chunk_eval and paddle.metric.mean_iou
      
      * delete paddle.nn.clip and paddle.nn.clip_by_norm
      
      * delete paddle.nn.functional.activation.hard_sigmoid and paddle.nn.functional.activation.hard_swish
      
      * delete paddle.nn.Pool2D, paddle.nn.BilinearTensorProduct, paddle.nn.RowConv, paddle.nn.functional.row_conv
      
      * fix extension import error
      
      * fix unittest for row_conv and Pool2D
      726c78f2
  34. 04 11月, 2020 1 次提交
  35. 21 10月, 2020 1 次提交
    • C
      2.0rc api rename (#28088) · 7c1aa0d6
      cnn 提交于
      * rename manual_seed to seed
      
      * rename xxx1d-->xxx1D, xxx2d-->xxx2D, xxx3d-->xxx3D
      
      * rename manual_seed --> seed
      
      * do not rename .cc, .cu and .h file
      
      * rename manual_seed --> seed
      
      * rename manual_seed --> seed
      
      * rename manual_seed --> seed
      
      * rename manual_seed --> seed
      
      * disable_static on doc example code
      
      * donot change manual_seed on generator
      
      * add enable_static on sample code
      
      * convert python/paddle/fluid/layers/nn.py to bak
      
      * fix typo
      
      * fix code style
      
      * fix seed to manual_seed when call functions of Generator()
      
      * fix bug
      7c1aa0d6
  36. 17 10月, 2020 1 次提交
  37. 16 10月, 2020 1 次提交
    • G
      Clean text.py and decode.py for API 2.0 (#26853) · 01335815
      Guo Sheng 提交于
      * Make dynamic_decode support dygraph and expose to API 2.0
      test=develop
      
      * update info about BeamSearchDecoder and dynamic_decode
      
      * remove all APIs in paddle.text, expose BeamSearchDecoder and dynamic_decode
      
      * update example code
      
      * delete test_text.py, decode.py, update some doc, fix example code float64
      
      * delete decode import from paddle.nn
      
      * fix unittest bugs
      
      * use dygraph.Embedding instead of nn.Embedding, add paddle.enbale_static()
      
      * update, correct doc
      
      * move dynamic_decode, BeamSearchDecoder API to paddle.nn
      
      * fix code style
      
      * update unittest param, delete import pf text.py
      
      * set dtype of beamsearchtest float64
      
      * update example code of BeamSearchDecoder, dynamic_decode
      Co-authored-by: NLiuChiaChi <709153940@qq.com>
      01335815
  38. 14 10月, 2020 1 次提交
    • C
      Remove and reorganize the alias of APIs (#27717) · d05058d2
      chentianyu03 提交于
      * modify cond while_loop to paddle.static.nn.cond
      
      * modify crop_tensor to paddle.crop
      
      * modify Variable to paddle.static.Variable
      
      * remove nn.beam_search, nn.beam_search_decode, nn.gather_tree
      
      * remove bpr_loss, center_loss, rank_loss, smooth_l1, teacher_student_sigmoid_loss, edit_distance, sampled_softmax_with_cross_entropy in nn.functional
      
      * remove apis in nn.functional.learn_rate.py
      
      * remove pool2d, pool3d, adaptive_pool2d, adaptive_pool3d in nn.functional
      
      * remove apis in nn.functional.vision
      
      * remove erf, soft_relu in nn.functional.activation
      
      * remove apis in nn.functional.extension
      
      * remove nn.functional.rnn
      
      * remove hash from nn.functional.lod
      
      * remove row_conv from nn.functional.extension
      
      * remove one_hot, pad2d, pad_constant_like from nn.functional.common
      
      * remove nn.gather_tree, nn.BilinearTensorProduct, nn.Pool2D, nn.Pad2D
      
      * remove apis from optimizer.__init
      
      * remove tensor.creation.fill_constant
      
      * remove elementwise_mul in nn.functional.common and  modify to paddle.multiply
      
      * remove  tensor.stat.reduce_mean
      
      * remove reduce_all, reduce_any in tensor.logic
      
      * remove apis in tensor.math
      
      * remove apis in tensor.__init__
      
      * remove has_inf, has_nan in tensor.search
      
      * remove apis in framework.__init__
      
      * remove apis in paddle.__init__
      
      * remove apis in nn.functional.__init__
      
      * modify removed alias apis to raw api in doc and unittests
      
      * fix remove grid_sample bug
      
      * modify removed alias apis to raw api in doc and unittests
      
      * modify removed alias apis to raw api in doc and unittests
      
      * modify removed alias apis to raw api in doc and unittests
      
      * modify removed alias apis to raw api in doc and unittests
      
      * modify removed alias apis to raw api in doc and unittests
      
      * modify removed alias apis to raw api in doc and unittests
      
      * delete alias api relastions in doc
      
      * reserve paddle.compat, paddle.sysconfig
      
      * remove unittest for paddle.reduce_all, paddle.reduce_any
      
      * modify removed alias apis to raw api in doc and unittests
      
      * recover paddle.save and paddle.load
      
      * resolve conflicts
      
      * fix sample code missing paddle.enable_static() bug
      
      * fix sample code missing paddle.enable_static() bug
      
      * fix to_string sample code error
      d05058d2