1. 07 4月, 2023 1 次提交
  2. 04 4月, 2023 1 次提交
  3. 30 3月, 2023 1 次提交
  4. 29 3月, 2023 1 次提交
  5. 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
  6. 20 3月, 2023 2 次提交
    • zhouweiwei2014's avatar
    • 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
  7. 17 3月, 2023 2 次提交
  8. 14 3月, 2023 1 次提交
  9. 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
  10. 03 3月, 2023 1 次提交
  11. 01 3月, 2023 1 次提交
    • Y
      Add full_like composite rule (#50794) · 7468bab4
      Yichen Zhang 提交于
      * implement composite full_like and simple unit test
      
      * implement op tests for composite full_like op
      
      * some modification as reviewers suggested
      add cinn op test to CMakeLists.txt
      fix code style
      
      * fix code style
      
      * modify input args of prim fill_any_like op
      
      * resolve conflicts
      
      * resolve conflicts
      
      * modify python api and unit tests as suggested
      
      * resolve conflicts
      
      * resolve conflicts
      
      * use framework.dtype to convert dtype in Op test
      7468bab4
  12. 23 2月, 2023 1 次提交
  13. 16 2月, 2023 1 次提交
    • Z
      Add mean composite rule (#50298) · f7f67b72
      zqw_1997 提交于
      * beta
      
      * small commit
      
      * add batch_norm composite rule
      
      move composite test case
      
      remove unuseful var
      
      add composite op blacklist
      
      * small change v2
      
      * finish the test_composite_mean and test_composite_mean_grad
      
      * add ops assertion to the tests
      
      * add cinn test
      
      * fix the error and inappropriate usage in func: mean_composite
      
      * remove the ref of outer lib in primtives.py
      
      * modify sample code of reduce_sum
      
      * fix composite mean op map
      
      * modify testcases to test more float type
      
      * remove cpu float16 test
      
      * cinn test fix
      
      * remove reduce_max
      
      * change the name sum to sum_x
      
      * change the use of reduce_sum to sum
      
      ---------
      Co-authored-by: Ncyber-pioneer <chenzhuo@tju.edu.cn>
      f7f67b72
  14. 14 2月, 2023 1 次提交
  15. 07 2月, 2023 1 次提交
  16. 06 2月, 2023 1 次提交
  17. 04 2月, 2023 1 次提交
    • H
      优化 PartialProgramLayer hash逻辑 (#49752) · 3e5a6df4
      hjyp 提交于
      * 优化 PartialProgramLayer hash逻辑
      
      * 修复list弱引用问题
      
      * 递归计算list列表的id
      
      * 处理str类型
      
      * str类型直接返回hash后的值
      3e5a6df4
  18. 01 2月, 2023 1 次提交
    • Z
      remove fluid.initializer.UniformInitializer, ConstantInitializer,... · 6edc7bba
      zqw_1997 提交于
      remove fluid.initializer.UniformInitializer, ConstantInitializer, NormalInitializer, TruncatedNormalInitializer, XavierInitializer, BilinearInitializer, MSRAInitializer, NumpyArrayInitializer and calculate_gain.. (#49498)
      
      * move UniformInitializer and ConstantInitializer
      
      * more modify
      
      * circular import resolved
      
      * another circular import resolved?
      
      * more circular import 2
      
      * circular import 3
      
      * change import paddle in metric.py
      
      * BuildStrategy import from fluid
      
      * modify the framework import path in common.py
      
      * change rnn.py import, from static to original framework
      
      * change import static in the nn folder
      
      * default_main_program should import from common_ops_import
      
      * add import paddle in param_attr.py
      
      * use core not paddle module for using VarDesc
      
      * another old uniform
      
      * mistake that use Uniform instead of UniformInitializer
      
      * modify UniformInitializer doc
      
      * move fluid.NormalInitializer to nn.initializer.NormalInitializer
      
      * remove import of Normal in fluid.layers.nn.py
      
      * remove more import of old Normal
      
      * remove more import of old Normal
      
      * sample code modify and tests modify import
      
      * is_listen_failed passing arg should be log file
      
      * problem solved
      
      * a mistake solved
      
      * comments resoleved and remove paddle.fluid.initializer.TruncatedNormalInitializer
      
      * remove paddle.fluid.initializer.XavierInitializer and paddle.fluid.initializer.MSRAInitializer
      
      * remove paddle.fluid.initializer.BilinearInitializer NumpyArrayInitializer and set_global_initializer
      
      * change fluid to static
      
      * change static to fluid to avoid circular import in distributed_strategy.py
      
      * fix example code and test_initializer
      
      * ValueType
      
      * sample code fix
      
      * change set_global_initializer back to fluid
      
      * put paddle.static.BuildStrategy.ReduceStrategy into the fuction to avoid circular import
      
      * remove calculate_gain, delete BilinearInitializer and revert set_global_initializer
      
      * change the time of using UniformInitializer, ConstantInitializer, NormalInitializer, TruncatedNormalInitializer, XavierInitializer, MSRAInitializer, NumpyArrayInitializer as few as possible
      
      * fix argument incampatible
      
      * fix more arg incompatible
      
      * fix test_prelu_op_xpu.py Constant
      
      * fix inaccurate doc
      
      * more doc fix: default value
      6edc7bba
  19. 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
  20. 13 1月, 2023 1 次提交
  21. 05 1月, 2023 1 次提交
  22. 04 1月, 2023 1 次提交
  23. 03 1月, 2023 2 次提交
  24. 30 12月, 2022 2 次提交
  25. 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
  26. 26 12月, 2022 1 次提交
  27. 23 12月, 2022 1 次提交
    • L
      Fix docs(91-100) (#49109) · 1bbc9b64
      LoneRanger 提交于
      * 修改linspace参数"stop"的介绍
      
      * 更新了conv2d_transpose英文文档中 1.公式异常 2.参数说明异常 3.padding=SAME和VALID的公式说明; test=docs_preview
      
      * 解决了
      1.英文版Note中的api_fluid_layers_conv2d的链接失效,
      2. 英文版参数中的padding_start的参数错误
      3. 参数中bias_attr和param_attr的链接失效
      4. 参数缺少optional
      
      * 更新了paddle.static.auc的英文文档的Return描述以及函数的参数
      
      * Update python/paddle/tensor/creation.py
      Co-authored-by: NLigoml <39876205+Ligoml@users.noreply.github.com>
      
      * 更新了shard_index的ignore_value描述
      
      * 修改了英文文档的paddle.static.nn.conv3d_transpose的公式介绍
      
      * add py_func COPY-FROM label; test=document_fix
      
      * Update python/paddle/tensor/manipulation.py
      Co-authored-by: NLigoml <39876205+Ligoml@users.noreply.github.com>
      
      * formula; test=document_fix
      
      * formula; test=document_fix
      
      * formula; test=document_fix
      Co-authored-by: NLigoml <39876205+Ligoml@users.noreply.github.com>
      1bbc9b64
  28. 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
  29. 21 12月, 2022 2 次提交
    • 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
    • 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
  30. 19 12月, 2022 4 次提交
  31. 16 12月, 2022 2 次提交
    • H
      clean elementwise doc (#49004) · a5ce60b8
      HongyuJia 提交于
      a5ce60b8
    • 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