1. 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
  2. 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
  3. 14 12月, 2022 1 次提交
  4. 09 12月, 2022 2 次提交
  5. 08 12月, 2022 1 次提交
  6. 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
  7. 05 12月, 2022 1 次提交
  8. 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
    • L
      remove less_than (#48584) · e48767fe
      LiYuRio 提交于
      e48767fe
    • Y
      clear fluid apis: square_error_cost (#48029) · 33173ab4
      yuehuayingxueluo 提交于
      * clear fluid apis in fleet and passes
      
      * fix model.py
      
      * fix model.py
      
      * fix cpp_pass.py
      
      * clear loss.py
      
      * change test file
      
      * fix some test_*.py
      
      * fix adaround.py
      
      * fix evaluator.py
      
      * fix CI bug
      
      * fix CI bug
      
      * fix decode.py
      
      * fix detection.py
      
      * fix ci bug
      
      * rm test_sigmoid_cross_entropy_with_logits_op_ipu.py and fix __init__.py
      
      * fix ci bug
      
      * fix ci BUG
      33173ab4
  9. 30 11月, 2022 1 次提交
    • V
      [Clean Fluid API]Remove API: log (#47966) · 91af6df8
      Vvsmile 提交于
      * replace log with paddle.log
      
      * replace log with paddle.nn.functional.log
      
      * fix the code style of remove_log
      
      * fix the ImportError of log
      
      * fix the error of modification of the dist_transformer.py
      
      * fix error of Static-Check
      91af6df8
  10. 28 11月, 2022 2 次提交
  11. 26 11月, 2022 1 次提交
  12. 25 11月, 2022 1 次提交
  13. 23 11月, 2022 2 次提交
    • V
      [Clean Fluid API]Remove API: label_smooth (#47952) · a0f47350
      Vvsmile 提交于
      * Remove API: label_smooth (replace with paddle.nn.functional.label_smooth)
      	Replace the paddle.fluid.layers.label_smooth with the
      paddle.nn.functional.label_smooth
      
      * modify the call of label_smooth from old style to new style
      a0f47350
    • X
      【fluid api clear】remove transpose (#47917) · b994c89d
      xiaoguoguo626807 提交于
      * remove transpose
      
      * codestyle check
      
      * modify CI_STATIC
      
      * modify CI_STATIC
      
      * modify enable static()
      
      * remove unused import
      
      * fix conflict about stack
      
      * fix conflict about stack
      
      * fix conflict about stack
      
      * endless conflict
      b994c89d
  14. 22 11月, 2022 2 次提交
  15. 08 11月, 2022 1 次提交
  16. 23 10月, 2022 1 次提交
  17. 19 10月, 2022 1 次提交
  18. 18 10月, 2022 1 次提交
    • N
      [CodeStyle][py2] remove `compat` module (to_text) (#47036) · ad4c773b
      Nyakku Shigure 提交于
      * [CodeStyle][py2] remove `compat` module (to_text)
      
      * remove some unnecessary decode
      
      * remove to_text definition and unittest
      
      * Revert "remove to_text definition and unittest"
      
      This reverts commit a6b69cb8dca8b9b031ce10ea32d1040e7e0dd267.
      
      * remove an assertion
      
      * empty commit
      ad4c773b
  19. 11 10月, 2022 2 次提交
  20. 27 9月, 2022 1 次提交
  21. 05 6月, 2022 1 次提交
    • S
      【code format check upgrade】 step2:yapf (#42944) · a072fca8
      Sing_chan 提交于
      * use yapf to format all python file
      
      * yapf exclude two unittests file for they rely on writing and reading file, and format will break them
      
      * disable diff_py_file because too many diff files cause command following failed
      a072fca8
  22. 30 9月, 2021 1 次提交
  23. 26 4月, 2020 1 次提交
    • C
      Simplify Program printing code to improve debugging efficiency (#23918) · 25a233e4
      Chen Weihang 提交于
      * add to_readable_code method, test=develop
      
      * polish doc details, test=develop
      
      * polish doc note, test=develop
      
      * fix unittest error, test=develop
      
      * fix coverage, test=develop
      
      * add print test, test=develop
      
      * add print param, test=develop
      
      * hidden to_readable_code api, test=develop
      
      * remove original tool methods, test=develop
      
      * remove old api using code, test=develop
      25a233e4
  24. 28 2月, 2020 1 次提交
  25. 23 2月, 2020 1 次提交
  26. 19 6月, 2019 1 次提交
    • fix spelling errors (#17941) · 802ea509
      翟飞跃 提交于
      * fix spelling errors; test=develop
      
      * Update API.spec
      
      update md5
      
      * Update API.spec
      
      * change the order of api;test=develop
      802ea509
  27. 28 10月, 2018 1 次提交
  28. 25 10月, 2018 2 次提交
  29. 27 9月, 2018 1 次提交
    • T
      Add distributed unit tests about text_classification/simnet-bow/ctr (#12812) · 97cf1eb6
      tangwei12 提交于
      * add dist ut for text_classification
      
      * add dist ut for text_classification
      
      * add simnet bow unittest
      
      * add dist ut for simnet bow
      
      * add trainning data url for simnet bow
      
      * add trainning data url for simnet bow
      
      * modify simnet test_reader to train reader
      
      * add test_dist_ctr
      
      * test_dist_ctr can run now
      
      * dense update is good
      
      * add unit test for selected rows
      
      * debug unit test
      
      * fix dist sparse update problem
      
      * Constant args at init
      
      * optimize code
      
      * simnet optimize
      
      * fix DebugStringEx
      
      * optimize sum_op.h
      
      * add ScaleOpVarTypeInference
      
      * clean code
      
      * fix test_dist_transpiler.py
      
      * code optimize
      
      * modify delta
      
      * fix sparse update bug
      
      * dist test use one cpu
      
      * update some data
      
      * remove unused code
      
      * add use cuda config
      
      * unit test fix
      
      * unit test fix
      
      * unit test fix
      
      * unit test fix
      
      * dist_word2vec use CPU
      
      * unit test fix
      
      * unit test fix
      
      * code clean
      
      * code clean
      
      * merge develop
      
      * api spec update
      
      * Revert: api spec update
      
      * replace simnet data with fake
      
      * replace simnet data with fake
      
      * update dim
      
      * add batch auc
      
      * code clean
      
      * code clean
      
      * modify print to stderr
      
      * update simnet delta -> 1e-5
      
      * update RUN_STEP
      
      * add use_reader_alloc
      
      * add use_reader_alloc
      
      * add use_reader_alloc
      
      * modify delta
      
      * add use_reader_alloc
      
      * fix stderr write
      
      * python3 compatibility
      
      test=develop
      
      * python3 compatibility, test=develop
      
      * Update dist_text_classification.py
      
      * test=develop
      97cf1eb6
  30. 26 9月, 2018 1 次提交
  31. 20 9月, 2018 2 次提交