1. 26 8月, 2022 2 次提交
    • W
      [Eager] delete final state pre-name (#45306) · 126940b3
      wanghuancoder 提交于
      126940b3
    • L
      fix en docs in fft and io.dataset (#44948) · 2dca718a
      Liyulingyue 提交于
      * irfftn; test = docutment_fix
      
      * fft; test=document_fix
      
      * fft; test=document_fix
      
      * fft; test=document_fix
      
      * subdata; test=document_fix
      
      * adaptive_avg_pool2d; test=document_fix
      
      * adaptive_avg_pool3d; test = document_fix
      
      * ftt; test=document_fix
      
      * ftt; test=document_fix
      
      * AvgPool1D; test=document_fix
      
      * avg_pool1d; test=document_fix
      
      * test=document_fix
      
      * test=document_fix
      
      * test=document_fix
      
      * test=document_fix
      
      * fft; test=document_fix
      
      * emb; test=document_fix
      
      * emb; test=document_fix
      
      * emb;test=document_fix
      
      * fold; test=document_fix
      
      * fold; test=document_fix
      
      * fold; test=document_fix
      
      * fold;test=document_fix
      
      * GELU;test=document_fix
      
      * update irfftn docs;test=document_fix
      
      * Update fft.py
      
      * Update fft.py
      
      * Update common.py
      
      * Update common.py
      
      * Update fft.py
      
      * Update input.py
      
      * Update pooling.py
      
      * dropout2d; test=document_fix
      
      * Fold; test=document_fix
      
      * update fold math;test=document_fix
      
      * Update common.py
      Co-authored-by: NLigoml <39876205+Ligoml@users.noreply.github.com>
      2dca718a
  2. 23 8月, 2022 1 次提交
  3. 19 8月, 2022 1 次提交
  4. 15 8月, 2022 1 次提交
  5. 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
  6. 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
  7. 02 8月, 2022 1 次提交
    • W
      [Eager] use eager final state instead intermediate state (#44722) · f1873b90
      Weilong Wu 提交于
      * [Eager] call final_state_slice under eager mode
      
      * rm useless comments
      
      * use eager final state instead intermidiate state
      
      * update fill_constant yaml
      
      * update fill_constant yaml
      
      * modify wrapped_infermeta_gen logic to fix special case
      
      * fix slice in manipulation
      
      * use fill_constant_
      
      * modify slice infermeta
      
      * rm final_state_conv2d
      
      * use final_state_slice
      
      * use final_state_slice only
      
      * polish slice, use final state
      
      * add paddle_throw for SplitInferMeta
      
      * rm fill_constant_ temply
      
      * recover array_equal, not allclose
      
      * recover original code
      f1873b90
  8. 29 7月, 2022 1 次提交
  9. 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
  10. 20 7月, 2022 1 次提交
  11. 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
  12. 14 6月, 2022 1 次提交
    • Z
      Fix numpy 1.20+ deprecation warnings (#42929) · 90cf2299
      zlsh80826 提交于
      * Replace np.bool/np.bool8 with np.bool_
      
      * Replace np.object with np.object_
      
      * Replace np.complex with np.complex128
      
      * Replace np.float with np.float64
      
      * Replace np.int with np.int_
      
      * Rerun pre-commit for newer pre-commit configuration
      
      * Use builtin bool instead of np.bool_ based on the context
      90cf2299
  13. 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
  14. 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
  15. 07 6月, 2022 1 次提交
  16. 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
  17. 31 5月, 2022 2 次提交
    • C
      [Eager] Polish append op using for model perf (#43102) · e9589e35
      Chen Weihang 提交于
      * polish append op using
      
      * fix var error
      
      * fix group norm impl
      e9589e35
    • 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
  18. 19 5月, 2022 1 次提交
  19. 13 5月, 2022 1 次提交
  20. 12 5月, 2022 1 次提交
  21. 28 4月, 2022 1 次提交
  22. 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
  23. 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
  24. 21 4月, 2022 1 次提交
  25. 18 4月, 2022 1 次提交
  26. 02 4月, 2022 1 次提交
  27. 24 3月, 2022 1 次提交
  28. 08 3月, 2022 1 次提交
    • X
      Fix fold python examples (#38636) · d4a4eb9d
      xiaoting 提交于
      * fix fold python examples, test=develop
      
      * fix size type, test=develop
      
      * fix python example, test=develop
      
      * fix fold shape check
      
      * fix fold dygraph mode, test=develop
      d4a4eb9d
  29. 24 2月, 2022 2 次提交
  30. 23 2月, 2022 1 次提交
  31. 22 2月, 2022 1 次提交
  32. 20 1月, 2022 1 次提交
    • W
      [Eager] Support Eager mode for some testcase (#38783) · d21074cd
      wanghuancoder 提交于
      * Rearranged Eager AutoCodeGen directory structure
      
      * Removed USE_OP in Eager AutoCodeGen
      
      * Enabled generation for Operators without Grad/Inputs/Outputs
      
      * Resolved operators without input
      
      * Fixed merge conflicts
      
      * Enabled Eager AutoCodeGen for 10+ more operators
      
      * Refactored Eager AutoCodeGen with more organized helper objects
      
      * Enabled Eager AutoCodeGen for operators with multiple OpBases
      
      * Adjusted Eager AutoCodeGen to Enable Passing Output Tensor as Input Argument
      
      * Handled Dispensable Inputs/Outputs in Eager AutoCodeGen
      
      * Adjusted function generation/call between Python-C API & Dygraph API
      
      * Synchronized auto-generated Python-C API with Dygraph Forward Functions
      
      * support more eager tensor api
      
      * fix merge compile error
      
      * fix compile error and fit develop code
      
      * support pure CPU
      
      * fix some logic error in eager_mode
      
      * support _varbase_creator in eager mode
      
      * Added safe_initialized interface to EagerTensor for use in processing dispensable inputs
      
      * for eager mode
      
      * refine
      
      * support multiple constructor for eager tensor
      
      * add place related code
      
      * polish code
      
      * specific randint with dtype of int64
      
      * Support pure cpu test
      
      * eager logic
      
      * refine test in pure cpu
      
      * eager logic
      
      * eager logic
      
      * eager logic, test=develop
      
      * skip core.eager when in inference, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * call RetainGrad after run forward kernel, test=develop
      
      * refine, test=develop
      
      * support dygraph util, meta, guard test
      
      * eager test case
      
      * support inference test
      
      * refine test and fix initializer failed
      
      * modify eagertensor patch method
      
      * add eagertensor.clear_grandint, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * support create varbase and fix retain grad error
      
      * call monkey_patch_varbase in _test_eager_guard, test=develop
      
      * fix windows error
      
      * split clear_gradient to clear_gradient and zero_grads, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * support test_imperative_basic test in eager mode
      
      * remove additional log in variable.h
      
      * remove additional log in variable.h
      
      * remove additional code create in merge
      
      * eager
      
      * fix some eager logic, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * patch_tensor_method_func, test=develop
      
      * refine, test=develop
      
      * eager test case, test=develop
      
      * refine, test=develop
      
      * eager, test=develop
      
      * eager, test=develop
      
      * eager optimizer, test=develop
      
      * eager optimizer, test=develop
      
      * eager test_imperative_optimizer_v2, test=develop
      
      * eager, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * eager, test=develop
      
      * add resize in share buffer to, test=develop
      
      * eager, test=develop
      
      * fix _share_buffer_to, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * support eager for dataloader,test=develop
      Co-authored-by: Njim19930609 <jim19930609@gmail.com>
      Co-authored-by: NJiabinYang <360788950@qq.com>
      d21074cd
  33. 12 1月, 2022 1 次提交
  34. 10 1月, 2022 2 次提交
  35. 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