1. 08 3月, 2023 1 次提交
  2. 20 12月, 2022 1 次提交
  3. 29 11月, 2022 1 次提交
  4. 26 11月, 2022 1 次提交
  5. 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
  6. 23 10月, 2022 1 次提交
  7. 19 10月, 2022 1 次提交
  8. 10 10月, 2022 1 次提交
  9. 27 9月, 2022 1 次提交
  10. 26 9月, 2022 1 次提交
  11. 25 9月, 2022 1 次提交
  12. 22 9月, 2022 1 次提交
    • Fix the En docs (delete some expression like 'This OP') (#46165) · 3a928a8c
      张春乔 提交于
      * 1. Delete some expression like 'This Op'
      2. remove import numpy as np
      
      * test=document_fix
      
      * fix eg; test=document_fix
      
      * fix 'import numpy' cases; test=document_fix
      
      * fix 'import numpy' cases; test=document_fix
      
      * fix some docs; test=document_fix
      
      * delete raise; test=document_fix
      
      * add some introduction; test=document_fix
      
      * add some introduction; test=document_fix
      
      * test=document_fix
      
      * Fix ’note‘ format; test=document_fix
      
      * Fix Returns of cholesky; test=document_fix
      
      * Fix Example format; test=document_fix
      
      * Fix det; test=document_fix
      
      * Fix eig; test=document_fix
      
      * Fix eigh; test=document_fix
      
      * Fix eigh; test=document_fix
      
      * Apply suggestions from code review;test = document_fix
      Co-authored-by: NNyakku Shigure <sigure.qaq@gmail.com>
      
      * Apply suggestions from code review;test = document_fix
      Co-authored-by: NNyakku Shigure <sigure.qaq@gmail.com>
      
      * Apply suggestions from code review;test = document_fix
      Co-authored-by: NNyakku Shigure <sigure.qaq@gmail.com>
      
      * test=document_fix
      
      * test=document_fix
      
      * KLDiv;test=document_fix
      
      * norm example code; test=document_fix
      
      * revert python/paddle/fluid/**/*
      
      * revert python/paddle/distributed/spawn.py
      
      * revert python/paddle/fluid/*
      
      * fix a `Note` format
      
      * Fix inv; test=document_fix
      
      * Fix lu; test=document_fix
      
      * Fix lu_unpack; test=document_fix
      
      * Fix matrix_power; test=document_fix
      
      * Fix multi_dot; test=document_fix
      
      * Fix solve; test=document_fix
      Co-authored-by: NNyakku Shigure <sigure.qaq@gmail.com>
      3a928a8c
  13. 10 8月, 2022 1 次提交
  14. 08 8月, 2022 1 次提交
    • ReganYue's avatar
      【Fix en docs】 Fix document formatting*test=document_fix (#43996) · 8537edaa
      ReganYue 提交于
      * Update creation.py
      
      修复Returns格式问题
      
      * 【Fix en docs】 Fix document formatting
      
      修复Returns和Return Type格式问题。
      
      * 修复格式,解决中英文文档不一致问题
      
      为了解决中英文不一致的问题,统一将Returns内容第一个标点符号改成逗号。删掉Return Type
      
      * fix大量 与 Return Type 和 Return相关的文档
      
      * Convert Variable and LoDTensor to Tensor
      
      * Update python/paddle/nn/functional/common.py
      Co-authored-by: NNyakku Shigure <sigure.qaq@gmail.com>
      
      * Update detection.py
      
      * Update io.py
      
      * Update io.py
      
      * Update loss.py
      
      * Update loss.py
      
      * Update io.py
      
      * Update io.py
      
      * Update nn.py
      
      * Update nn.py
      
      * Update nn.py
      
      * Update nn.py
      
      * Update nn.py
      
      * Update nn.py
      
      * Update nn.py
      
      * Update nn.py
      
      * Update nn.py
      
      * Update nn.py
      
      * Update sequence_lod.py
      
      * Update sequence_lod.py
      
      * Update sequence_lod.py
      
      * Update sequence_lod.py
      
      * Update sequence_lod.py
      
      * Update sequence_lod.py
      
      * Update sequence_lod.py
      
      * Update sequence_lod.py
      
      * Update sequence_lod.py
      
      * Update sequence_lod.py
      
      * Update sequence_lod.py
      
      * Update metrics.py
      
      * Update metrics.py
      
      * Update metrics.py
      
      * Update metrics.py
      
      * Update metrics.py
      
      * Update nets.py
      
      * Update reader.py
      
      * Update nn.py
      
      * Update io.py
      
      * Update nn.py
      
      * Update io.py
      
      * remove Return Type to Returns
      
      * Update sequence_lod.py
      
      * Update sequence_lod.py
      
      * Update common.py
      
      * Update common.py
      
      * Update extension.py
      
      * Update creation.py
      
      * update*test=document_fix
      
      * Update io.py
      
      * Update manipulation.py
      
      * Update sequence_lod.py
      
      * Update common.py
      
      * Update common.py
      
      * Update common.py
      
      * Update common.py
      
      * update*test=document_fix
      
      * update*test=document_fix
      
      * Update loss.py
      
      * Update loss.py
      
      * update*test=document_fix
      
      * paddle.crop
      
      * for ci;test=document_fix
      
      * update io;test=document_fix
      
      * Update io.py
      
      * update sequence_expand docs;test=document_fix
      
      * update note typos;test=document_fix
      Co-authored-by: NNyakku Shigure <sigure.qaq@gmail.com>
      Co-authored-by: NLigoml <39876205+Ligoml@users.noreply.github.com>
      8537edaa
  15. 04 8月, 2022 1 次提交
    • N
      [Docs][en] adjust code example format (#44679) · d5de7886
      Nyakku Shigure 提交于
      * add name attribute to code-block, test=document_fix
      
      * remove redundant labels, test=document_fix
      
      * remove redundant labels (from upstream), test=document_fix
      
      * more COPY-FROM (try multiple code example), test=document_fix
      
      * empty commit, try to trigger PR-CI-build
      
      * fix some `Examples:` format issues
      
      * fix some ci errors
      d5de7886
  16. 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
  17. 15 9月, 2021 1 次提交
  18. 27 8月, 2021 1 次提交
  19. 23 8月, 2021 1 次提交
  20. 28 7月, 2021 1 次提交
  21. 08 6月, 2021 1 次提交
  22. 29 4月, 2021 1 次提交
  23. 26 4月, 2021 1 次提交
  24. 20 2月, 2021 1 次提交
  25. 29 12月, 2020 1 次提交
    • C
      fix code bugs (#29932) · af372858
      Chen Long 提交于
      * fix code bugs
      
      * fix code bugs test=document_fix
      
      * fix code bugs test=document_fix
      af372858
  26. 27 11月, 2020 1 次提交
  27. 26 11月, 2020 1 次提交
  28. 24 11月, 2020 1 次提交
    • L
      Upgrade string literals to raw string (#28989) · 3815d7aa
      Leo Chen 提交于
      * upgrade comment string to raw string
      
      * fix string in
      
      * fix string with ' '
      
      * revert update on comments
      
      * upgrade only necessary
      
      * fix sample code checker
      
      * fix comments with '''
      3815d7aa
  29. 19 11月, 2020 2 次提交
  30. 18 11月, 2020 1 次提交
    • S
      add two paddle-2.0 apis: paddle.static.io.save_inference_model and... · db2e6cee
      Shibo Tao 提交于
      add two paddle-2.0 apis: paddle.static.io.save_inference_model and paddle.static.io.load_inference_model (#28606)
      
      * add two apis: paddle.static.io.save_inference_model and paddle.static.io.load_inference_mode, which are campatible with paddle.fluid.io.save_inference_model and paddle.fluid.io.load_inference_model respectively.
      
      * add unittest for new save_inference_model and load_inference_model. test=develop
      
      * enhance doc. test=develop
      
      * add paddle.enable_static() to test_inference_model_io.py. test=develop
      db2e6cee