1. 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
  2. 25 11月, 2022 1 次提交
  3. 24 11月, 2022 1 次提交
  4. 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
  5. 22 11月, 2022 1 次提交
  6. 21 11月, 2022 1 次提交
  7. 18 11月, 2022 1 次提交
  8. 17 11月, 2022 1 次提交
  9. 03 11月, 2022 1 次提交
  10. 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
  11. 23 10月, 2022 1 次提交
  12. 27 9月, 2022 1 次提交
  13. 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
  14. 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
  15. 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
  16. 14 7月, 2020 1 次提交
  17. 17 6月, 2020 1 次提交