1. 19 12月, 2022 1 次提交
  2. 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
  3. 15 12月, 2022 1 次提交
  4. 14 12月, 2022 2 次提交
  5. 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
  6. 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
  7. 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
  8. 05 12月, 2022 2 次提交
  9. 02 12月, 2022 4 次提交
  10. 01 12月, 2022 1 次提交
  11. 30 11月, 2022 3 次提交
    • C
      remove fluid.layer.gather_tree (#48480) · 8b611f04
      cyber-pioneer 提交于
      8b611f04
    • 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
    • W
      [remove fluid] under unittesets (#48212) · 7d6263e6
      wangzhen38 提交于
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      7d6263e6
  12. 29 11月, 2022 4 次提交
  13. 28 11月, 2022 3 次提交
    • V
      [Clean Fluid API]Remove squeeze: use paddle.squeeze to replace paddle.fluid.layers.squeeze (#47938) · 2fe92990
      Vvsmile 提交于
      * Remove API: squeeze
      	Modify the funcation all of squeeze.
      	Use paddle.squeeze to replace paddle.fluid.layers.squeeze
      
      * Remove: squeeze
      	fix some modifications which are not needless to the original
      format
      
      * Fix the function call of 'squeeze' from old style to new style.
      
      * modify the call of squeeze from old style to new style
      
      * Modify the call of squeeze from old style to new style
      
      * replace squeeze with paddle.squeeze
      
      * modify the nn.py based on the review suggestion
      
      remove a redundant comment.
      
      * remove one comment which is not necessary
      2fe92990
    • A
      [Fluid Clean] Migrate program_translate.py/jit.py into paddle.jit dir (#48240) · ea830d43
      Aurelius84 提交于
      * [Fluid Clean] Migrate program_translate.py/jit.py into paddle.jit dir
      ea830d43
    • X
      【fluid api clear】Remove reduce sum (#48330) · 8d00f76e
      xiaoguoguo626807 提交于
      * remove fluid.reduce_sum
      
      * remove fluid.reduce_sum
      
      * modify axis and import paddle
      
      * modify keepdim and out_name
      
      * modift unittest
      
      * modift unittest
      
      * modify CI_static and loss.py
      
      * modify test_mse_loss
      
      * modify static ci
      
      * modify static ci datatype
      
      * add import paddle in test
      
      * fix conflict
      
      * fix conflict
      
      * modify ci
      
      * modify ci
      
      * fix_conflict
      
      * fix bug
      
      * code_style
      8d00f76e
  14. 25 11月, 2022 1 次提交
  15. 24 11月, 2022 1 次提交
  16. 23 11月, 2022 1 次提交
    • 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
  17. 22 11月, 2022 1 次提交
  18. 21 11月, 2022 1 次提交
  19. 18 11月, 2022 1 次提交
  20. 17 11月, 2022 1 次提交
  21. 03 11月, 2022 1 次提交
  22. 01 11月, 2022 1 次提交
    • N
      [CodeStyle][E711] use `is`/`is not` for comparison with `None` (#47452) · a35a4a53
      Nyakku Shigure 提交于
      * [CodeStyle][E711] use `is`/`is not` for comparison with `None`
      
      * `self.assertTrue($A is None)` -> `self.assertIsNone($A)`
      
      * `self.assertTrue($A is not None)` -> `self.assertIsNotNone($A)`
      
      * `self.assertFalse($A is None)` -> `self.assertIsNotNone($A)`
      
      * `self.assertEqual($A, None)` -> `self.assertIsNone($A)`
      
      * `self.assertNotEqual($A, None)` -> `self.assertIsNotNone($A)`
      a35a4a53
  23. 23 10月, 2022 1 次提交
  24. 27 9月, 2022 1 次提交
  25. 12 7月, 2022 1 次提交
    • X
      [ Dy2Static ]Change NameVisitor in while to FunctionScopeAnalysis (#44155) · c5c6026e
      xiongkun 提交于
      * change NameVisitor to FunctionScopeAnalysis
      
      * polish the logic of undefined var in while_loop. create vars after body execution
      
      * replace old NameVisitor in while and fix all CI
      
      * Togather with CreateVariableTransformer
      
      * add create_variable_transformer
      
      * fix bugs
      
      * merge
      
      * fix some error, TODO: ForNodePreTransform ahead
      
      * merge for unite PR
      
      * fix conflict with base_transformer PR
      
      * fix ci errors, fix [for i in range()] error
      
      * fix according to code review
      c5c6026e
  26. 06 7月, 2022 1 次提交
    • X
      [Dy2static] FunctionScopeVisitor Enhance and substitute the original NameVisitor in If (#43967) · b603dd55
      xiongkun 提交于
      * add support for control flow block analysis
      
      * move FunctionNameLivenessAnalysis into utils
      
      * pass test_ifelse.py
      
      * remove duplicate data_layer_not_check
      
      * pass the test_ifelse.py
      
      * fix unittest error .
      
      * fix all ci error in first version
      
      * temporay disable CreateVariableTransformer
      
      * fix ci errors
      
      * fix function name liveness analysis bugs
      
      * modifty def cond
      
      * fix
      
      * fix ci error - v2
      
      * fix by code review
      
      * change return_name_ids -> return_name
      b603dd55
  27. 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
  28. 14 7月, 2020 1 次提交