1. 20 1月, 2023 1 次提交
    • G
      Fluid clean remove io data (#49301) · 5670644c
      GGBond8488 提交于
      * replace paddle.fluid.layers.data and remove io.data
      
      * partial commit
      
      * partial commit
      
      * partial commit
      
      * partial commit
      
      * partial commit
      
      * partial commit
      
      * remove data in fluid.layers.io.__all__
      
      * fix errors
      
      * fix unitests
      
      * fix unitest
      
      * fix unitests
      
      * fix unitest
      
      * fix unitest
      
      * fix unitests
      
      * fix unitest
      
      * fix test_layers unitests
      
      * fix typro
      
      * fix unitest
      
      * fix unitest
      
      * fix unitest
      
      * fix typro
      
      * fix unitest test_model_cast_to_bf16
      
      * fix test_reducescatter
      
      * fix collective unitest
      
      * fix collective unitests
      
      * fix collective unitests
      
      * add coverage
      
      * fix add layers.data
      
      * re run ci
      
      * fix some typro
      
      * fix samplecode error
      
      * fix samplecode error
      5670644c
  2. 03 1月, 2023 1 次提交
  3. 26 12月, 2022 1 次提交
  4. 23 12月, 2022 1 次提交
  5. 22 12月, 2022 1 次提交
    • G
      Clean Fluid APIs in padde.fluid.layers.nn (#48908) · dc694f1e
      Ghost Screaming 提交于
      * Fix bug of reduce_sum op. When input.numel() > INT32_MAX, its result
      is wrong.
      
      * Remove climits.
      
      * Clean Fluid APIs in python/paddle/fluid/layers/nn.py,
      migrate spectral_norm and row_conv APIs, and remove ont_hot.
      Including following files:
      1. python/paddle/fluid/layers/nn.py
      2. python/paddle/fluid/tests/unittests/collective/fleet/parallel_dygraph_transformer.py
      3. python/paddle/fluid/tests/unittests/dist_transformer.py
      4. python/paddle/fluid/tests/unittests/dygraph_to_static/transformer_dygraph_model.py
      5. python/paddle/fluid/tests/unittests/ipu/test_one_hot_op_ipu.py
      6. python/paddle/fluid/tests/unittests/test_imperative_auto_prune.py
      7. python/paddle/fluid/tests/unittests/test_imperative_load_static_param.py
      8. python/paddle/fluid/tests/unittests/test_layers.py
      9. python/paddle/fluid/tests/unittests/test_one_hot_op.py
      10. python/paddle/fluid/tests/unittests/test_row_conv_op.py
      11. python/paddle/fluid/tests/unittests/test_runtime_and_compiletime_exception.py
      12. python/paddle/fluid/tests/unittests/test_spectral_norm_op.py
      13. python/paddle/static/nn/__init__.py
      14. python/paddle/static/nn/common.py
      
      * Polish code.
      
      * Fix some bugs.
      
      * Remove useless unittest.
      
      * Fix some bug.
      
      * Polish example code.
      
      * Fix some bugs.
      
      * Fix some bugs.
      dc694f1e
  6. 21 12月, 2022 1 次提交
  7. 19 12月, 2022 2 次提交
  8. 16 12月, 2022 1 次提交
    • 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
  9. 15 12月, 2022 4 次提交
    • 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
    • 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
  10. 14 12月, 2022 1 次提交
  11. 13 12月, 2022 3 次提交
  12. 12 12月, 2022 1 次提交
  13. 10 12月, 2022 1 次提交
    • W
      [remove fluid] fluid dygraph Embedding (#48806) · 6e356c68
      wangzhen38 提交于
      * [remove fluid] fluid dygraph Embedding
      
      * [remove fluid] fluid dygraph Embedding
      
      * [remove fluid] fluid dygraph Embedding
      
      * [remove fluid] fluid dygraph Embedding
      
      * [remove fluid] fluid dygraph Embedding
      
      * [remove fluid] fluid dygraph Embedding
      6e356c68
  14. 09 12月, 2022 1 次提交
  15. 08 12月, 2022 7 次提交
  16. 07 12月, 2022 3 次提交
    • W
      [remove fluid] PRelu BilinearTensorProduct Conv2DTranspose SequenceConv RowConv (#48654) · c2f15f05
      wangzhen38 提交于
      * [remove fluid] PRelu BilinearTensorProduct
      
      * [remove fluid] PRelu BilinearTensorProduct Conv2DTranspose SequenceConv RowConv
      
      * [remove fluid] PRelu BilinearTensorProduct Conv2DTranspose SequenceConv RowConv
      
      * [remove fluid] PRelu BilinearTensorProduct Conv2DTranspose SequenceConv RowConv
      
      * [remove fluid] PRelu BilinearTensorProduct Conv2DTranspose SequenceConv RowConv
      
      * [remove fluid] PRelu BilinearTensorProduct Conv2DTranspose SequenceConv RowConv
      
      * [remove fluid] PRelu BilinearTensorProduct Conv2DTranspose SequenceConv RowConv
      
      * [remove fluid] PRelu BilinearTensorProduct Conv2DTranspose SequenceConv RowConv
      c2f15f05
    • X
      【fluid api clear】Move batch norm1 (#47965) · 9a9e0aa0
      xiaoguoguo626807 提交于
      * modify slice infershape
      
      * code style
      
      * modify slice_unittest
      
      * temp fix
      
      * batch_norm api move
      
      * code_style
      
      * codestyle
      
      * ci_static
      
      * add __init__
      
      * reset other change
      
      * revert .cc
      
      * add import batchnorm
      
      * conflict and revert
      
      * fix bug
      
      * fix third conflict one day
      
      * fix conflict
      
      * fix conflict bug
      
      * fix conflict bug
      
      * modify api
      
      * code_style
      
      * modify doc
      
      * add lost doc stable
      
      * fix conflict bug
      
      * ci lack of gpu
      9a9e0aa0
    • 2
      delete sampling_id api (#48543) · c6a2b0fd
      201716010711 提交于
      c6a2b0fd
  17. 06 12月, 2022 3 次提交
    • K
      Remove fluid matmul (#47988) · 8fb829ba
      kangguangli 提交于
      * remove layers.matmul in nets.py
      
      * remove layers.matmul in rnn_impl/test_quantization_pass/auto_parallel_gpt_model/test_auto_parallel_completion_gpt
      
      * remove layers.matmul in other files
      
      * fix
      
      * fix
      
      * remove layers.matmul itself
      
      * remove ref in CMakeLists.txt and tools directory
      
      * remove matmul in fluid.layers.nn.py
      
      * remove matmul in fluid.dygraph.rnn.py && resotre test_matmul_op.py
      
      * replace matmul in fluid.dygraph.rnn.py && clean api_test in test_matmul_op.py
      
      * fix error && restore empty test_auto_search_dist_matmul_op.py
      
      * fix check in test_auto_parallel_partitioner.py
      
      * fix test_dist_matmul && test_flags_mkldnn_ops_on_off
      
      * fix test_fused_attention_op_xpu.py && test_matmul_op_xpu.py
      
      * remove test_auto_search_dist_matmul_op.py
      
      * remove layers.matmul in auto_parallel_gpt_model.py && fix doc in fluid/io.py
      
      * fix for matmul_grad
      
      * fix codestyle
      
      * fix codestyle
      
      * resolve conflicts error
      
      * restore unit test file but not compiled it for later remove
      
      * fix codestyle
      
      * fix wrong unittest skip
      
      * fix unittest delete
      
      * fix scale cost
      
      * fix scale cost
      
      * resolve conflicts error
      
      * resolve conflicts error
      Co-authored-by: Njakpiase <jakpia21@gmail.com>
      8fb829ba
    • Z
      [fluid remove]: remove paddle.fluid.layers.target_assign,... · 1976cc4b
      zqw_1997 提交于
      [fluid remove]: remove paddle.fluid.layers.target_assign, paddle.fluid.layers.rpn_target_assign, paddle.fluid.layers.retinanet_target_assign and paddle.fluid.layers.ssd_loss (#48669)
      
      * remove paddle.fluid.layers.nn.temporal_shift
      
      * code check
      
      * rm unittest
      
      * remove ssd_loss, target_assigns
      
      * remove target_assign, retinanet_target_assign, rpn_target_assign and ssd_loss
      1976cc4b
    • W
      [remove fluid] GRUUnit NCE (#48610) · 3ba1237e
      wangzhen38 提交于
      * [remove fluid] GRUUnit NCE
      
      * [remove fluid] GRUUnit NCE
      
      * [remove fluid] GRUUnit NCE
      
      * [remove fluid] GRUUnit NCE
      3ba1237e
  18. 05 12月, 2022 4 次提交
  19. 02 12月, 2022 3 次提交
    • C
      remove softmax api from fluid (#48388) · a3ae080a
      Charles-hit 提交于
      * move softmax to paddle2.0
      
      * fix some bugs
      
      * resolve conflict
      
      * remove some code
      
      * modify code style
      
      * fix bugs
      
      * fix code
      
      * fix move code
      
      * fix some bugs
      
      * fix code
      
      * fix some code
      
      * modify the header file
      
      * fix bugs
      
      * fix some examples
      
      * fix mish example
      
      * fix code
      a3ae080a
    • Z
      [fluid remove]: remove paddle.fluid.layers.nn.temporal_shift and... · 49656af3
      zqw_1997 提交于
      [fluid remove]: remove paddle.fluid.layers.nn.temporal_shift and paddle.fluid.layers.sigmoid_focal_loss (#48553)
      
      * remove paddle.fluid.layers.nn.temporal_shift
      
      * code check
      
      * rm unittest
      
      * remove paddle.fluid.layers.sigmoid_focal_loss
      49656af3
    • W
      [remove fluid] drop_out API (#48586) · 6af7b42b
      wangzhen38 提交于
      * [remove fluid] drop_out PI
      
      * [remove fluid] drop_out PI
      
      * [remove fluid] drop_out layernorm
      
      * [remove fluid] drop_out layernorm
      
      * [remove fluid] drop_out layernorm
      
      * [remove fluid] drop_out layernorm
      6af7b42b