1. 17 3月, 2023 1 次提交
    • P
      【Hackathon 4 No.14】Add Polar to paddle (#50901) · eefe601c
      PommesPeter 提交于
      * added paddle.polar to paddle
      
      * added paddle.polar unitest
      
      * failed to use pytorch for evaluating results, and changed with numpy implementation
      
      * updated code style
      
      * updated __init__.py
      
      * updated code style
      
      * fixed unitest code
      
      * lkh test polar
      
      * polar add
      
      * fixed errors and optimized code
      
      * fixed error
      
      * optimized polor api
      
      * updated code style
      
      * updated code style
      
      ---------
      Co-authored-by: Ndiadestiny <1247889154@qq.com>
      eefe601c
  2. 14 3月, 2023 1 次提交
  3. 09 3月, 2023 2 次提交
    • Y
      [AMP OP&Test] arange op support fp16/bf16 (#51106) · f3448977
      yangjianfengo1 提交于
      * AMP arange & Test
      
      * fix arange bfloat16 dtype
      
      * update for review
      
      * update for review2
      
      * fix tile
      
      * update
      
      * fix ci
      
      * r
      
      * f
      
      * fix windows ci
      
      * update bfloat data
      
      * fix bloat16 input
      
      * add print
      
      * Update test_where_op.py
      
      * update kernel
      
      * del repeat
      
      * update review
      f3448977
    • 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
  4. 01 3月, 2023 2 次提交
    • 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
    • L
      [fp16] suppot fp16 in diagflat (#50945) · af149c0c
      LoneRanger 提交于
      af149c0c
  5. 27 2月, 2023 1 次提交
  6. 16 2月, 2023 2 次提交
  7. 01 2月, 2023 2 次提交
    • 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
    • P
      [Numpy]Fix NumpyScaler2Tensor dtype error (#50018) · 6f0ae156
      PuQing 提交于
      * fix numpyScaler2Tensor type error
      
      * fix to_tensor docs, test=document_fix
      6f0ae156
  8. 10 1月, 2023 1 次提交
  9. 05 1月, 2023 1 次提交
  10. 27 12月, 2022 1 次提交
  11. 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
  12. 09 12月, 2022 1 次提交
  13. 07 12月, 2022 1 次提交
  14. 05 12月, 2022 1 次提交
  15. 02 12月, 2022 2 次提交
  16. 28 11月, 2022 1 次提交
  17. 22 11月, 2022 1 次提交
    • U
      [Docs]fix math api en docs issue (#47448) · 94c6ec86
      ustiniankw 提交于
      * fix_docx_stanh
      
      * fix einsum api en docs issue
      
      * fix model api en docs issue
      
      * for codestyle
      
      * fix_einsum.py_einsum, test=document_fix
      
      * fix_model.py_Model, test=ducument_fix
      
      * fix_creation.py_meshgrid, test=document_fix
      
      * fix_linalg.py_slogdet, test=document_fix
      
      * fix_loss.py_SoftMarginLoss_CrossEntropyLoss_NLLLoss_BCELoss, test=document_fix
      
      * norm.py_SyncBatchNorm, test=document-fix
      
      * norm.py_SyncBatchNorm, test=document_fix
      
      * norm.py_SyncBatchNorm, test=document_fix
      
      * list18-30, test=document_fix
      
      * refix_list1-15, test=document_fix
      
      * deletefiles, test=document_fix
      
      * fixedapi_pre-commit, test=document_fix
      
      * fix_list31-45, test=document_fix
      
      * list111, test=document_fix
      
      * some_fix, test=document_fix
      
      * some_fix, test=document_fix
      
      * somefix, test=document_fix
      
      * somefix, test=document_fix
      
      * refix, test=document_fix
      
      * refix, test=document_fix
      
      * refix, test=document_fix
      
      * refix, test=document_fix
      
      * rerfix, test=document_fix
      Co-authored-by: 梦柳's avatarLigoml <limengliu@tiaozhan.com>
      94c6ec86
  18. 17 11月, 2022 1 次提交
  19. 14 11月, 2022 1 次提交
  20. 09 11月, 2022 1 次提交
    • fix The first round of evaluation (#47256) · 0a051297
      超级码牛 提交于
      * fix paddle.get_default_dtype 
      
      Chinese and English return values are inconsistent
      
      * fix paddle.matmul 文档评估 #4407
      
      把函数的输出改成正确的
      
      * fix paddle.std文档评估 #4370
      
      增加了一个unbiased=False的代码示例,没有增加numpy,怕引起误会。
      
      * fix paddle.load文档测评 #4455 
      
      只把代码拆分了5段
      
      * try
      
      * try
      
      * try
      
      * Update io.py
      
      * Update io.py
      
      * Update creation.py
      
      * Update creation.py
      
      * [Docs]add name description
      
      * [Docs]fix broadcasting issue
      Co-authored-by: NLigoml <39876205+Ligoml@users.noreply.github.com>
      0a051297
  21. 01 11月, 2022 1 次提交
  22. 23 10月, 2022 1 次提交
  23. 12 10月, 2022 1 次提交
  24. 09 10月, 2022 1 次提交
  25. 27 9月, 2022 2 次提交
  26. 16 9月, 2022 1 次提交
  27. 14 9月, 2022 1 次提交
  28. 29 8月, 2022 2 次提交
  29. 26 8月, 2022 1 次提交
  30. 25 8月, 2022 1 次提交
  31. 24 8月, 2022 1 次提交
  32. 22 8月, 2022 1 次提交
  33. 18 8月, 2022 1 次提交