1. 21 12月, 2022 2 次提交
  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
  5. 15 12月, 2022 8 次提交
    • H
    • [FluidAPI] remove fluid rnn apis (#49050) · 4672ea8e
      骑马小猫 提交于
      * remove lstm api
      
      * remove gru_unit api
      
      * remove lstm in all
      
      * remove beam-search
      
      * remove beam_search slot
      
      * remove lstm test code
      
      * remove fluid.layers.nn api
      
      * update gru-unit
      
      * revert gru_unit white list
      4672ea8e
    • K
      [remove fluid.layers.cross_entropy] remove sample code and api (#49018) · 0c1cb5e3
      kangguangli 提交于
      * remove reference in sample code for `fluid.layers.cross_entropy`
      
      * fix error
      
      * fix doc codestyle and remove api `layers.cross_entropy` && `layers.cross_entropy2`
      
      * fix unittest test_fleet_hybrid_meta_optimizer && test_fleet_sharding_meta_optimizer
      0c1cb5e3
    • rm unittests eager guard test part16 meshgrid2normalize (#48839) · f665a6a5
      姜永久 提交于
      * rm unittests eager guard test part16 meshgrid2normalize
      
      * modify
      f665a6a5
    • 学渣戊's avatar
      按在线文档需求 61~70 更新了部分文档 (#49014) · a9ed6f96
      学渣戊 提交于
      * Update docstring:
      1. 去除 python/paddle/tensor/manipulation.py 中 cast 函数描述中的 This OP;
      2. 调整 python/paddle/fluid/layers/control_flow.py 中 Print 函数中参数描述的顺序,添加 optional 描述;
      3. 为 python/paddle/tensor/logic.py 中 logical_and 函数添加 optional 描述;
      4. 为 python/paddle/fluid/reader.py 中 DataLoader 类中 from_generator、from_dataset 函数添加 optional 描述;
      5. 在 python/paddle/fluid/layers/nn.py 中 crf_decoding 函数的 param_attr 在使用中确实可视为存在默认值 None,故添加 optional 描述;
      6. 修复 python/paddle/static/nn/common.py 中 data_norm 函数描述里 tex 语法错误的问题,并一并修复同一文件中的相同问题。
      
      * 根据 review 意见修改部分内容。
      
      * 将谓语动词去掉第三人称单数形式。
      
      * 同步中文文档变更。
      
      * string-->str; test=document_fix
      Co-authored-by: NLigoml <39876205+Ligoml@users.noreply.github.com>
      a9ed6f96
    • M
      修复paddle.amp.decorate等API的文档 (#48983) · c5af51ca
      mjxs 提交于
      * 涉及到的api有
      paddle.amp.decorate
      paddle.static.npu_places
      paddle.signal.istft
      paddle.signal.stft
      paddle.linalg.eigvalsh
      paddle.randint_like
      
      * change signal.stft
      
      * randint_like的low增加optional
      
      * ; test=docs_preview
      
      * 修改了注解格式; test=docs_preview
      
      * 修改了公式格式
      
      * 修改了decorate的models等
      
      * test=document_fix
      Co-authored-by: NLigoml <39876205+Ligoml@users.noreply.github.com>
      c5af51ca
    • K
    • H
      Remove/move 16 fluid APIs (#48377) · e577040e
      HydrogenSulfate 提交于
      * remove density_prior_box
      
      * remove anchor_generator
      
      * remove roi_perspective_transform
      
      * remove generate_proposal_labels
      
      * remove generate_mask_labels
      
      * remove generate_proposals
      
      * remove box_clip
      
      * remove retinanet_detection_output
      
      * remove multiclass_nms
      
      * remove locality_aware_nms
      
      * remove matrix_nms
      
      * remove distribute_fpn_proposals
      
      * remove box_decoder_and_assign
      
      * remove collect_fpn_proposals
      
      * remove 2 trt files
      
      * move prior_box to static/nn/common.py
      
      * move multi_box_head to static/nn/common.py
      
      * fix for CI/CE
      
      * remove retinanet_detection_output
      
      * restore compile_vs_runtime_white_list.py
      
      * restore test_retinanet_detection_output to white list
      
      * replace nn.flatten by paddle.flatten, and fix doc for retinanet_target_assign
      
      * add enable_static in demo and fix bug
      
      * remove roi_perspective_transform in test_layers
      
      * remove multi_box_head
      
      * change self.multiclass_nms to _legacy_C_ops.multiclass_nms
      
      * empty commit
      
      * empty commit
      
      * check code style
      
      * fix prior_box
      
      * fix CI
      
      * remove redundant prior_box in detection.py
      
      * fix docs
      
      * remove detection
      
      * fix prior_box en doc
      
      * delete prior_box in common
      
      * remote proir_box from __init__.py
      e577040e