1. 19 12月, 2022 4 次提交
  2. 16 12月, 2022 11 次提交
    • H
      clean elementwise doc (#49004) · a5ce60b8
      HongyuJia 提交于
      a5ce60b8
    • Y
      [Remove Fluid]move TranslatedLayer from fluid dir to jit dir (#49065) · b55f7326
      YuanRisheng 提交于
      * move translated layer
      
      * fix build bugs
      
      * fix unittest bug
      
      * trigger ci
      b55f7326
    • H
      [Custom Extension] Add xpu backward testcase (#49027) · 930b209e
      HongyuJia 提交于
      * add xpu backward testcase
      
      * polish code
      
      * fix self.custom_op error
      930b209e
    • V
      [Clean Fluid API]Remove API: unsqueeze, use paddle.unsqueeze to replace... · 1ca86fc6
      Vvsmile 提交于
      [Clean Fluid API]Remove API: unsqueeze, use paddle.unsqueeze to replace paddle.fluid.layers.unsqueeze (#47936)
      
      * Remove API: unsqueeze
      	Replace the funcation call.
      	Use paddle.unsqueeze to replace paddle.fluid.layers.unsqueeze
      
      * Remove API: unsqueeze
      	remove unsqueeze which is not used in Paddle 2.0
      
      * Remove API: unsqueeze
      	fix the bug by adding 'import paddle' to file
      tests/unittests/test_rnn_cell_api.py
      
      * Modify the call of unsqueeze from old style to new style
      
      * fix the call arguments of unsqueeze
      
      * replace unqueeze with paddle.unsqueeze
      
      * fix the error in PR-CI-Static-Check, name 'paddle' is not defined
      
      * fix the error in static in unsqueeze
      1ca86fc6
    • K
    • MarDino's avatar
      Fix bilinear interp fp16 diff (#49095) · effd51c7
      MarDino 提交于
      * cast to higher precision type to prevent fp16 diff problem
      
      * fix bilinear backward and add more unittest case
      effd51c7
    • H
    • 学渣戊's avatar
      fix docstring (#49044) · 4460c757
      学渣戊 提交于
      * fix docstring:
      1. 去除 python/paddle/fluid/dygraph/nn.py 中 BatchNorm 类说明中示例代码里 numpy 的使用,为参数 data_layout 说明中 "NCHW" 里的各字母含义做了具体说明;
      2. 为 python/paddle/nn/functional/norm.py 中 batch_norm 函数中参数 data_format 说明中的 "NCDHW" 里的各字母含义做了具体说明;
      3. 为 python/paddle/nn/layer/norm.py 中 BatchNorm、BatchNorm1D、BatchNorm2D 以及 BatchNorm3D 类中参数 data_format 说明中的 "NCDHW" 里的各字母含义做了具体说明;
      4. 修正 python/paddle/nn/layer/loss.py 中 BCELoss 类的 Shapes 说明格式错误问题,以及 BCEWithLogitsLoss 类的 Shapes 说明格式错误问题和 Examples 出错问题;
      5. 修改 python/paddle/nn/functional/loss.py 中 binary_cross_entropy 函数以及 binary_cross_entropy_with_logits 函数 Returns 说明的描述,使它们与其他函数说明相似;
      6. 将 python/paddle/nn/decode.py 中 BeamSearchDecoder 类 `__init__` 方法 docstring 里的参数说明提前到类说明中去。
      
      * 根据 Review 意见进行修改。
      
      * 修正 在线文档 中提及的错误。
      4460c757
    • Y
      0d tensor for scatter_ and scatter_nd (#49072) · 74582aaa
      Yuang Liu 提交于
      74582aaa
    • H
      change staticRNN to while (#48213) · 69536892
      hong 提交于
      * change staticRNN to while
      
      * update code
      
      * fix rnn bug
      
      * update
      
      * fix _find_op_path_ bugs in append_backward.
      
      * polish code
      
      * revert op proto
      
      * update
      
      * udpate while
      
      * format
      
      * revert test while loop op
      
      * fix create array
      
      * fix windows error
      
      * fix bug
      
      * update
      
      * fix array write bug
      Co-authored-by: Nxiongkun <xiongkun03@baidu.com>
      69536892
    • R
      [Dy2St] transforms.RandomCrop Support static mode (#49057) · a0576250
      Ryan 提交于
      * add RandomCrop
      
      * 10e-5  =>  eps
      
      * add same shape test
      a0576250
  3. 15 12月, 2022 16 次提交
  4. 14 12月, 2022 9 次提交
    • W
      support fp16 index sample (#47897) · eb322853
      wangxiaoning 提交于
      * add index sample fp16 support
      
      * remove fluid APIs in distributed_strategy.py and role_maker.py
      
      * Revert "remove fluid APIs in distributed_strategy.py and role_maker.py"
      
      This reverts commit 223bbee990d3bf69e252fc3c0f19e3873550a264.
      
      * fix instantiated more than once
      
      * clean codes
      eb322853
    • R
      Keep double-buffer reader for static mode (#49068) · 1a32448f
      Roc 提交于
      1a32448f
    • F
      fluid API magration : array_read, array_write (#49022) · 18f921e9
      feifei-111 提交于
      * del array_write & array_read
      
      * fix import err
      
      * fix import err
      
      * fix example codes
      18f921e9
    • Z
      [AutoParallel] recompute tuning (#48608) · 170a31f9
      zhaoyingli 提交于
      * [AutoParallel] recompute tuning
      
      * fix conflict
      
      * update comment
      
      * bug fix
      
      * update rc algo
      
      * tiny fix
      
      * fix clear process_group
      
      * remove comment
      
      * update segment print
      
      * fix import OpRole
      
      * adapt amp pass and grad_clip pass for opt_tuner
      
      * update tuning config
      
      * fix import
      
      * annotate recompute info on ops and upgrade recompute pass
      
      * add op_namescope for seed op
      
      * record reserved vars
      
      * fix recompute var's dist_attr
      
      * fix strategy unittest
      
      * adapt for fp16
      
      * update unittest
      
      * revert copy opt
      
      * update unittest
      
      * rename set_recompute_segments
      
      * fix unittest
      170a31f9
    • A
      InstanceNorm1D、InstanceNorm2D、InstanceNorm3D (#48940) · b9207054
      Ayuan 提交于
      * modified:   python/paddle/nn/layer/norm.py
      
      * modified:   python/paddle/nn/layer/norm.py
      
      * modified:   python/paddle/nn/layer/norm.py
      
      * modified:   python/paddle/nn/layer/norm.py
      
      * modified:   python/paddle/nn/layer/norm.py
      
      * modified:   python/paddle/nn/layer/norm.py
      
      * test=docs_preview
      
      * InstanceNorm2D中文档格式修改
      
      * test=docs_preview
      
      * modified:   python/paddle/nn/functional/loss.py
      	modified:   python/paddle/nn/functional/norm.py
      	modified:   python/paddle/nn/layer/loss.py
      	modified:   python/paddle/nn/layer/norm.py
      
      * test=docs_preview
      
      * test=docs_preview
      b9207054
    • Z
      remove prior_box (#49006) · f6915d42
      zqw_1997 提交于
      * remove prior_box
      
      * modify the sequence of paras of prior_box in multi_box_head api
      f6915d42
    • J
      [Bugfix] recompute dep filter param (#49010) · b9fad5da
      JZ-LIANG 提交于
      * recompute dep filter param
      
      * recompute dep for reshard
      b9fad5da
    • rm unittests eager guard test part14 initializer2layer_norm (#48835) · a8d139a4
      姜永久 提交于
      * rm unittests eager guard test part14 initializer2layer_norm
      
      * monior change
      a8d139a4
    • rm unittests eager guard tests part9 histogram2imperative_dataloader (#48825) · 627eaa0f
      姜永久 提交于
      * rm unittests eager guard tests part9 histogram2imperative_dataloader
      
      * rm basic
      627eaa0f