1. 21 12月, 2022 10 次提交
    • G
      remove paddle.static.sparsity and move out sparsity from fluid (#48450) · b51a752f
      GGBond8488 提交于
      * move out sparsity from fluid
      
      * fix typro
      
      * fix circle import error
      
      * fix circle import
      
      * fix circle import
      
      * fix conflicts
      
      * remove paddle.static.sparsity
      
      * remove paddle.asp
      
      * Undo history modifications
      
      * remove sparsity in static package
      
      * modify setup.py
      
      * add missing modifications on unitest files
      
      * remove redundant sparsiy hierarchy
      
      * fix unitest file
      b51a752f
    • Z
      Refactor Pass for fused_conv (#48848) · 7f0eb2e3
      zyfncg 提交于
      * refactor conv_activation_mkldnn_fuse_pass
      
      * refactor conv_affine_channel_mkldnn_fuse_pass
      
      * fix conv_activation_mkldnn_fuse_pass
      
      * fix mkldnn unittest
      
      * refactor int8_scale_calculation_mkldnn_pass and params_quantization_mkldnn_pass
      
      * refactor conv_elementwise_add_mkldnn_fuse_pass
      
      * fix quant
      
      * refactor conv_bn_fuse_pass
      
      * fix conv_bn_fuse_pass
      
      * refactor depthwise_conv_bn_fuse_pass
      
      * fix unittest
      
      * fix conv_bn_fuse_pass
      
      * remove redundant conv2d in params_quantization_mkldnn_pass
      
      * fix params_quantization_mkldnn_pass_tester
      7f0eb2e3
    • W
      Fluid clean (#48841) · b8814777
      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.
      
      * remove fluid APIs in distributed_strategy.py and role_maker.py
      
      * remove index sample op changes
      
      * remove fluid APIs under fleet.base
      
      * remove fluid APIs under fleet.layers.mpu
      
      * remove fluid APIs under fleet.meta_optimizers
      
      * fix fluid error
      
      * fix util_factory.py
      
      * reset fluid.io.load_inference_model API
      
      * remove dygraph.parallel.prepare_context
      
      * remove fluid.dygraph.StaticModelRunner API
      
      * remove split_lod_tensor merge_lod_tensor
      
      * remove unittests
      b8814777
    • rm unittests eager guard tests part7 faster2conv3d (#48820) · 1e0f8734
      姜永久 提交于
      * rm unittests eager guard tests part7 faster2conv3d
      
      * minor change
      
      * rm post_hook test
      1e0f8734
    • rm unittests eager guard test part8 gaussian2gumnel (#48821) · 3210ea8e
      姜永久 提交于
      * rm unittests eager guard test part8 gaussian2gumnel
      
      * rm
      
      * modify
      
      * fix
      
      * fix GroupNorm param
      3210ea8e
    • 675b3486
    • rm unittests eager guard tests part19 rnn2sparse_model (#48878) · fb8f2de6
      姜永久 提交于
      * rm unittests eager guard tests part19 rnn2sparse_model
      
      * fix conflix
      
      * fix set value
      fb8f2de6
    • 3900d562
    • W
      Replace `assert np.close` with `np.testing.assert_allclose` in collective... · a6dcaf64
      Wen Sun 提交于
      Replace `assert np.close` with `np.testing.assert_allclose` in collective communication unittests (#49195)
      
      * refactor: replace `assert` with `assert_allclose`
      
      * chore: add coverage conf
      
      * revert: remove incorrect coverage conf
      a6dcaf64
    • A
      fix unittests (#49203) · 10d3c096
      Aganlengzi 提交于
      10d3c096
  2. 20 12月, 2022 10 次提交
  3. 19 12月, 2022 11 次提交
  4. 16 12月, 2022 9 次提交
    • 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
    • 学渣戊'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