1. 03 7月, 2023 1 次提交
  2. 22 5月, 2023 1 次提交
    • M
      [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode() (#53856) · 3794d171
      Meteor Liu 提交于
      * [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode()
      
      * [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode()
      
      * [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode()
      
      * [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode()
      
      * [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode()
      
      * [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode()
      
      * fixed cyclic reference that caused patial import
      
      * fixed bad change
      
      * fix bad import
      
      * fix bad import
      
      * fix bad import
      
      * fix ut failed caused by change in_dynamic_mode
      
      * fix ut failed caused by change in_dynamic_mode
      
      * fixed usage of in_dynamic_mode() or in_dygraph_mode()
      
      * revert python3 to python in .pre-commit-config.yaml
      
      * fix merge conflicts
      3794d171
  3. 19 4月, 2023 1 次提交
  4. 14 4月, 2023 1 次提交
  5. 13 4月, 2023 1 次提交
  6. 31 3月, 2023 1 次提交
  7. 29 3月, 2023 3 次提交
  8. 28 3月, 2023 1 次提交
  9. 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
  10. 16 3月, 2023 1 次提交
  11. 14 3月, 2023 1 次提交
  12. 13 3月, 2023 1 次提交
  13. 28 2月, 2023 1 次提交
  14. 27 2月, 2023 1 次提交
  15. 24 2月, 2023 1 次提交
  16. 07 2月, 2023 1 次提交
  17. 06 2月, 2023 1 次提交
  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. 31 1月, 2023 2 次提交
  20. 13 1月, 2023 1 次提交
  21. 06 1月, 2023 1 次提交
  22. 27 12月, 2022 1 次提交
  23. 23 12月, 2022 1 次提交
    • 学渣戊's avatar
      fix docstrings: paddle.nn.Conv3DTranspose, etc. (#49149) · baa98d1d
      学渣戊 提交于
      * fix docstrings:
      1. 修复了 python/paddle/nn/layer/conv.py 中出现的 Tex 语法问题;
      2. 为 python/paddle/nn/functional/conv.py 修复 Tex 语法问题,修改 note 及参数说明格式,尝试添加论文链接;
      3. 修改 python/paddle/nn/layer/loss.py、python/paddle/nn/functional/loss.py 中参数说明的格式;
      4. 修改 python/paddle/nn/layer/common.py、python/paddle/nn/functional/common.py 中参数说明的格式,添加 optional 说明。
      
      * fix docstring format, add paper's hyperlink.
      
      * fix formula Tex.
      
      * fix format error; test=docs_preview
      
      * fix reference hyperlink; test=docs_preview
      
      * fix docstring; test=docs_preview
      
      * fix Tex format.
      
      * fix api reference;  test=docs_preview
      
      * test=document_fix
      
      * Update conv.py
      
      * formula; test=document_fix
      
      * test=document_fix
      
      * formula; test=document_fix
      Co-authored-by: NLigoml <39876205+Ligoml@users.noreply.github.com>
      baa98d1d
  24. 15 12月, 2022 1 次提交
  25. 09 12月, 2022 1 次提交
  26. 05 12月, 2022 1 次提交
  27. 29 11月, 2022 1 次提交
  28. 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
  29. 03 11月, 2022 1 次提交
  30. 01 11月, 2022 2 次提交
    • 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
    • N
      [CodeStyle][E712] use `if cond`/`if cond is True` for comparison with `True` (#47464) · 5a2ab683
      Nyakku Shigure 提交于
      * [CodeStyle][E712] use `if cond`/`if cond is True` for comparison with `True`
      
      * revert changes in fluid
      
      * revert unrelated file
      
      * revert changes in norm
      
      * revert changes in auto_parallel_amp
      
      * fix norm and auto_parallel_amp
      
      * revert a typo fix due to fixed at #47477
      5a2ab683
  31. 23 10月, 2022 1 次提交
  32. 12 10月, 2022 1 次提交
  33. 23 9月, 2022 2 次提交
  34. 22 9月, 2022 1 次提交
    • I
      [docs] fix some format issue (#45752) · 2963e6a0
      Infinity_lee 提交于
      * fix some error
      
      * fix
      
      * fix some error
      
      * fix bugs
      
      * fix some errors
      
      * fix
      
      * Update transform.py
      
      fix some docs errors
      
      * Update normal.py
      
      fix some doc errors
      
      * Update uniform.py
      
      fix some docs errors
      
      * Update kl.py
      
      fix some docs errors
      
      * Update math.py
      
      fix some docs error
      
      * Update math.py
      
      fix heaviside links
      
      * Update loss.py
      
      fix
      
      * Update transform.py
      
      fix bugs
      
      * Update math.py
      
      fix
      
      * fix some format issue
      
      * Update normal.py
      
      * fix missing np
      
      * order imports
      
      * fix some flake8 warning
      
      * Update python/paddle/tensor/math.py
      
      * fix OP-->API
      
      * fix op
      
      * fix grid_sample format
      
      * trim trailing whitespace
      
      * empty commit, test=document_fix
      
      * empty commit
      Co-authored-by: NSigureMo <sigure.qaq@gmail.com>
      Co-authored-by: NLigoml <39876205+Ligoml@users.noreply.github.com>
      2963e6a0