1. 03 1月, 2023 1 次提交
  2. 29 12月, 2022 1 次提交
    • rm in_legacy part8 (#49386) · 1c7ae954
      姜永久 提交于
      * rm legacy layers part6
      
      * rm non_static_mode
      
      * modify non_static
      
      * minor change
      
      * rm loss
      
      * rm in_legacy part8
      
      * minor change
      1c7ae954
  3. 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
  4. 21 12月, 2022 1 次提交
    • Z
      remove paddle.fluid.layers.layer_norm (#49174) · b333d7ed
      zqw_1997 提交于
      * remove paddle.fluid.layers.layer_norm
      
      * templatedoc import from paddle.fluid.layers.layer_function_generator
      
      * del import of fluid.layers.layer_norm in __init__.py
      
      * add import of ..common.layer_norm in __init__.py
      
      * fix bug in UT
      
      * fix doc
      b333d7ed
  5. 19 12月, 2022 4 次提交
  6. 16 12月, 2022 2 次提交
    • 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
  7. 15 12月, 2022 1 次提交
  8. 14 12月, 2022 1 次提交
  9. 13 12月, 2022 1 次提交
  10. 12 12月, 2022 1 次提交
    • H
      [Clean fluid] Add inner function _elementwise_op_with_axis (#48748) · 9aef0e3e
      HongyuJia 提交于
      * add inner function _elementwise_op_with_axis
      
      * fix transformer_model
      
      * polish API code
      
      * remove elementwise_div/mul api
      
      * delete API in __all__
      
      * delete elementwise_mul completely
      
      * polish elementwise_mul call
      
      * polish internal api
      
      * resolve conflict, fix rnn.py
      
      * use non-inplace call
      
      * delete elementwise_mul api test
      
      * delete elementwise_mul api test
      
      * clean elementwise_add/sub
      
      * restore _elementwise_op_in_dygraph in nn.py
      9aef0e3e
  11. 08 12月, 2022 4 次提交
  12. 07 12月, 2022 2 次提交
    • 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
  13. 06 12月, 2022 1 次提交
    • 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
  14. 05 12月, 2022 5 次提交
  15. 02 12月, 2022 5 次提交
  16. 01 12月, 2022 3 次提交
  17. 30 11月, 2022 3 次提交
  18. 29 11月, 2022 3 次提交