1. 28 11月, 2022 2 次提交
    • (fluid清理)remove flatten in nn.py under fluid (#47940) · 74d411e7
      傅剑寒 提交于
      * remove flatten in nn.py under fluid
      
      * fix test case
      
      * fix test case
      
      * fix codestyle
      
      * fix codestyle
      
      * fix code style
      
      * remove extra test case
      
      * remove test case
      74d411e7
    • 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. 18 11月, 2022 1 次提交
  3. 03 11月, 2022 1 次提交
  4. 23 10月, 2022 1 次提交
  5. 12 10月, 2022 1 次提交
  6. 27 9月, 2022 1 次提交
  7. 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
  8. 18 5月, 2022 1 次提交
  9. 25 4月, 2022 1 次提交
  10. 02 4月, 2022 1 次提交
    • J
      Fix ci problem2 (#41263) · a9d66025
      Jiabin Yang 提交于
      * support test_create_paramter
      
      * support fused_transformer_encoder_layer
      
      * skip program_desc tracer related tests in eager mode
      
      * fix ci tests on eager
      a9d66025
  11. 19 1月, 2022 1 次提交
    • Y
      Fix paddle.flops AttributeError (#38850) · ae1e71b3
      yingyibiao 提交于
      * Fix AttributeError when output y is a tuple which has no attribute 'shape'
      
      * Add unit test for dynamic_flops with multiple outputs
      
      * Add unit test for dynamic_flops with multiple outputs
      ae1e71b3
  12. 18 11月, 2021 1 次提交
  13. 02 9月, 2021 1 次提交
  14. 07 8月, 2021 1 次提交
  15. 29 7月, 2021 2 次提交
  16. 08 7月, 2021 1 次提交
  17. 28 6月, 2021 4 次提交
  18. 21 6月, 2021 1 次提交
  19. 15 6月, 2021 1 次提交
  20. 11 6月, 2021 1 次提交
  21. 26 4月, 2021 1 次提交
  22. 15 4月, 2021 1 次提交
    • J
      Update hapi to support AMP (#31417) · fabdb43c
      Jiaqi Liu 提交于
      * make hapi support amp, and add unittest
      
      * make unittest only support GPU
      
      * update parameters for amp in hapi.Model
      
      * update hapi.Model.prepare interface, and update unittest
      
      * fix test_model.py unittest bug
      
      * add grad clear in dygraph
      
      * use_fp16_guard defaults to True, which could avoid nan
      
      * add input check, and add internal doc link to low level api
      
      * update doc, and decrease the sample num of dataset to avoid timeout
      
      * make hapi amp param  support str 'O1' or 'O2'
      
      * resume calling , modify the code of the check part
      
      * upgrade the usage of Fleet API, and disable 'pure_fp16' param
      fabdb43c
  23. 01 12月, 2020 1 次提交
  24. 26 11月, 2020 2 次提交
  25. 23 11月, 2020 2 次提交
  26. 16 11月, 2020 1 次提交
  27. 28 10月, 2020 1 次提交
  28. 22 10月, 2020 1 次提交
    • L
      Update hapi predict interface (#28180) · 68449d19
      LielinJiang 提交于
      * update hapi predict interface
      
      * fix code style
      
      * fix docs
      
      * fix docs
      
      * fix docs
      
      * update docs
      
      * fix codes style
      
      * fix unittest
      
      * fix unittest
      
      * fix coverage
      68449d19
  29. 21 10月, 2020 1 次提交
    • C
      2.0rc api rename (#28088) · 7c1aa0d6
      cnn 提交于
      * rename manual_seed to seed
      
      * rename xxx1d-->xxx1D, xxx2d-->xxx2D, xxx3d-->xxx3D
      
      * rename manual_seed --> seed
      
      * do not rename .cc, .cu and .h file
      
      * rename manual_seed --> seed
      
      * rename manual_seed --> seed
      
      * rename manual_seed --> seed
      
      * rename manual_seed --> seed
      
      * disable_static on doc example code
      
      * donot change manual_seed on generator
      
      * add enable_static on sample code
      
      * convert python/paddle/fluid/layers/nn.py to bak
      
      * fix typo
      
      * fix code style
      
      * fix seed to manual_seed when call functions of Generator()
      
      * fix bug
      7c1aa0d6
  30. 19 10月, 2020 1 次提交
  31. 15 10月, 2020 1 次提交
  32. 14 10月, 2020 1 次提交
    • C
      Remove and reorganize the alias of APIs (#27717) · d05058d2
      chentianyu03 提交于
      * modify cond while_loop to paddle.static.nn.cond
      
      * modify crop_tensor to paddle.crop
      
      * modify Variable to paddle.static.Variable
      
      * remove nn.beam_search, nn.beam_search_decode, nn.gather_tree
      
      * remove bpr_loss, center_loss, rank_loss, smooth_l1, teacher_student_sigmoid_loss, edit_distance, sampled_softmax_with_cross_entropy in nn.functional
      
      * remove apis in nn.functional.learn_rate.py
      
      * remove pool2d, pool3d, adaptive_pool2d, adaptive_pool3d in nn.functional
      
      * remove apis in nn.functional.vision
      
      * remove erf, soft_relu in nn.functional.activation
      
      * remove apis in nn.functional.extension
      
      * remove nn.functional.rnn
      
      * remove hash from nn.functional.lod
      
      * remove row_conv from nn.functional.extension
      
      * remove one_hot, pad2d, pad_constant_like from nn.functional.common
      
      * remove nn.gather_tree, nn.BilinearTensorProduct, nn.Pool2D, nn.Pad2D
      
      * remove apis from optimizer.__init
      
      * remove tensor.creation.fill_constant
      
      * remove elementwise_mul in nn.functional.common and  modify to paddle.multiply
      
      * remove  tensor.stat.reduce_mean
      
      * remove reduce_all, reduce_any in tensor.logic
      
      * remove apis in tensor.math
      
      * remove apis in tensor.__init__
      
      * remove has_inf, has_nan in tensor.search
      
      * remove apis in framework.__init__
      
      * remove apis in paddle.__init__
      
      * remove apis in nn.functional.__init__
      
      * modify removed alias apis to raw api in doc and unittests
      
      * fix remove grid_sample bug
      
      * modify removed alias apis to raw api in doc and unittests
      
      * modify removed alias apis to raw api in doc and unittests
      
      * modify removed alias apis to raw api in doc and unittests
      
      * modify removed alias apis to raw api in doc and unittests
      
      * modify removed alias apis to raw api in doc and unittests
      
      * modify removed alias apis to raw api in doc and unittests
      
      * delete alias api relastions in doc
      
      * reserve paddle.compat, paddle.sysconfig
      
      * remove unittest for paddle.reduce_all, paddle.reduce_any
      
      * modify removed alias apis to raw api in doc and unittests
      
      * recover paddle.save and paddle.load
      
      * resolve conflicts
      
      * fix sample code missing paddle.enable_static() bug
      
      * fix sample code missing paddle.enable_static() bug
      
      * fix to_string sample code error
      d05058d2
  33. 12 10月, 2020 1 次提交