1. 21 3月, 2023 1 次提交
    • G
      【fluid clean】remove fluid.data (#50699) · 72c711bb
      GGBond8488 提交于
      * remove fluid.data
      
      * fix typro
      
      * fix somme unitest error
      
      * fix conflicts
      
      * fix sample code error
      
      * fxi sample coder error
      
      * fxi sample code error
      
      * fxi sample code error
      
      * fix xpu test error
      
      * fix xpu test error
      
      * Delete ps_pb2.py
      
      * fix test error
      
      * fix typro
      
      * fix sample code error
      
      * fix comments
      
      * fix test norm op data
      
      * fix sample code error
      
      * fix conflicts
      72c711bb
  2. 20 3月, 2023 1 次提交
    • G
      Fluid clean move out fill constant (#49511) · c985b1ac
      GGBond8488 提交于
      * migrate fill_constant to paddle.tensor
      
      * move fill_constant to paddle.tensor and repalce the reference
      
      * add missing fill_constant replacement
      
      * fix typro
      
      * remove unused import fill_constant
      
      * fix zeros import error
      
      * fix circle import
      
      * fix layers.zeros
      
      * fix unitest
      
      * fix unitests
      
      * fix unitest
      
      * use paddle.full replace fill_constant in samplecode
      
      * fix sample code
      
      * recovery xpu test
      
      * recovery xpu test
      
      * fix circle import
      
      * fix utils import error
      
      * fix utils error
      
      * fix circle import
      
      * redo
      
      * fix circle import
      
      * fix prim fill constant import
      
      * fix type error
      
      * fix increase error
      
      * fix test error
      
      * fix fill_constant
      c985b1ac
  3. 14 3月, 2023 1 次提交
  4. 09 3月, 2023 1 次提交
    • Z
      Remove paddle.fluid.layers.utils.* (#51033) · 86e990d4
      zqw_1997 提交于
      * move fluid.utils to paddle.utils.layers_utils
      
      * fix error
      
      * delete original fluid layers utils
      
      * remove import and old utils
      
      * remove more old utils import
      
      * change import path of fill_constant in the layers_utils.py
      
      * fix mistake
      
      * fix error
      
      * expose in __init__.py
      
      * for comment
      
      * when change the ref of func is_sequence, it should change to the root of is_sequence instead
      
      * for codecheck
      86e990d4
  5. 14 2月, 2023 1 次提交
  6. 20 1月, 2023 1 次提交
    • G
      Fluid clean remove io data (#49301) · 5670644c
      GGBond8488 提交于
      * replace paddle.fluid.layers.data and remove io.data
      
      * partial commit
      
      * partial commit
      
      * partial commit
      
      * partial commit
      
      * partial commit
      
      * partial commit
      
      * remove data in fluid.layers.io.__all__
      
      * fix errors
      
      * fix unitests
      
      * fix unitest
      
      * fix unitests
      
      * fix unitest
      
      * fix unitest
      
      * fix unitests
      
      * fix unitest
      
      * fix test_layers unitests
      
      * fix typro
      
      * fix unitest
      
      * fix unitest
      
      * fix unitest
      
      * fix typro
      
      * fix unitest test_model_cast_to_bf16
      
      * fix test_reducescatter
      
      * fix collective unitest
      
      * fix collective unitests
      
      * fix collective unitests
      
      * add coverage
      
      * fix add layers.data
      
      * re run ci
      
      * fix some typro
      
      * fix samplecode error
      
      * fix samplecode error
      5670644c
  7. 13 1月, 2023 1 次提交
  8. 03 1月, 2023 1 次提交
  9. 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
  10. 21 12月, 2022 1 次提交
    • W
      Fluid clean (#48841) · b8814777
      wangxiaoning 提交于
      * add index sample fp16 support
      
      * remove fluid APIs in distributed_strategy.py and role_maker.py
      
      * Revert "remove fluid APIs in distributed_strategy.py and role_maker.py"
      
      This reverts commit 223bbee990d3bf69e252fc3c0f19e3873550a264.
      
      * remove fluid APIs in distributed_strategy.py and role_maker.py
      
      * remove index sample op changes
      
      * remove fluid APIs under fleet.base
      
      * remove fluid APIs under fleet.layers.mpu
      
      * remove fluid APIs under fleet.meta_optimizers
      
      * fix fluid error
      
      * fix util_factory.py
      
      * reset fluid.io.load_inference_model API
      
      * remove dygraph.parallel.prepare_context
      
      * remove fluid.dygraph.StaticModelRunner API
      
      * remove split_lod_tensor merge_lod_tensor
      
      * remove unittests
      b8814777
  11. 16 12月, 2022 1 次提交
  12. 15 12月, 2022 1 次提交
    • 学渣戊's avatar
      按在线文档需求 61~70 更新了部分文档 (#49014) · a9ed6f96
      学渣戊 提交于
      * Update docstring:
      1. 去除 python/paddle/tensor/manipulation.py 中 cast 函数描述中的 This OP;
      2. 调整 python/paddle/fluid/layers/control_flow.py 中 Print 函数中参数描述的顺序,添加 optional 描述;
      3. 为 python/paddle/tensor/logic.py 中 logical_and 函数添加 optional 描述;
      4. 为 python/paddle/fluid/reader.py 中 DataLoader 类中 from_generator、from_dataset 函数添加 optional 描述;
      5. 在 python/paddle/fluid/layers/nn.py 中 crf_decoding 函数的 param_attr 在使用中确实可视为存在默认值 None,故添加 optional 描述;
      6. 修复 python/paddle/static/nn/common.py 中 data_norm 函数描述里 tex 语法错误的问题,并一并修复同一文件中的相同问题。
      
      * 根据 review 意见修改部分内容。
      
      * 将谓语动词去掉第三人称单数形式。
      
      * 同步中文文档变更。
      
      * string-->str; test=document_fix
      Co-authored-by: NLigoml <39876205+Ligoml@users.noreply.github.com>
      a9ed6f96
  13. 14 12月, 2022 1 次提交
  14. 12 12月, 2022 1 次提交
  15. 09 12月, 2022 1 次提交
  16. 08 12月, 2022 1 次提交
  17. 02 12月, 2022 2 次提交
  18. 01 12月, 2022 1 次提交
  19. 29 11月, 2022 2 次提交
  20. 28 11月, 2022 2 次提交
  21. 25 11月, 2022 1 次提交
  22. 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
  23. 22 11月, 2022 1 次提交
  24. 21 11月, 2022 1 次提交
  25. 10 11月, 2022 1 次提交
  26. 08 11月, 2022 1 次提交
  27. 03 11月, 2022 1 次提交
  28. 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
  29. 31 10月, 2022 1 次提交
  30. 25 10月, 2022 2 次提交
  31. 23 10月, 2022 1 次提交
  32. 19 10月, 2022 1 次提交
  33. 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
  34. 17 10月, 2022 1 次提交
    • N
      [CodeStyle][py2] remove `compat` module (to_bytes) (#47035) · 198c7993
      Nyakku Shigure 提交于
      * [CodeStyle][py2] remove `compat` module (to_bytes)
      
      * remove some unused imports
      
      * clean up to_bytes definition and unittests
      
      * Revert "clean up to_bytes definition and unittests"
      
      This reverts commit e726539e1768172a411ff60e63fab82f164343cf.
      
      * use `b` prefix instead of `encode()`
      198c7993
  35. 27 9月, 2022 1 次提交
  36. 19 9月, 2022 1 次提交