1. 16 12月, 2022 8 次提交
    • 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
    • Y
      c4f30c51
    • R
      [Dy2St] transforms.RandomCrop Support static mode (#49057) · a0576250
      Ryan 提交于
      * add RandomCrop
      
      * 10e-5  =>  eps
      
      * add same shape test
      a0576250
    • R
      73ec9b78
  2. 15 12月, 2022 25 次提交
  3. 14 12月, 2022 7 次提交
    • 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
    • M
      e61df289
    • 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