1. 29 11月, 2022 1 次提交
  2. 28 11月, 2022 2 次提交
    • Q
      [NPU] apply npu_identity to conv bn and copy2cpu, test=develop (#48039) · 32143f44
      Qi Li 提交于
      * [NPU] apply npu_identity to conv bn and copy2cpu, test=develop
      
      * update npu identity to share data with x, test=develop
      
      * address review comments, test=develop
      32143f44
    • X
      【fluid api clear】Remove reduce sum (#48330) · 8d00f76e
      xiaoguoguo626807 提交于
      * remove fluid.reduce_sum
      
      * remove fluid.reduce_sum
      
      * modify axis and import paddle
      
      * modify keepdim and out_name
      
      * modift unittest
      
      * modift unittest
      
      * modify CI_static and loss.py
      
      * modify test_mse_loss
      
      * modify static ci
      
      * modify static ci datatype
      
      * add import paddle in test
      
      * fix conflict
      
      * fix conflict
      
      * modify ci
      
      * modify ci
      
      * fix_conflict
      
      * fix bug
      
      * code_style
      8d00f76e
  3. 23 11月, 2022 1 次提交
  4. 22 11月, 2022 2 次提交
    • 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
    • N
      [CodeStyle][py36-][E722] remove import handling for collections.abc in... · b0eec317
      Nyakku Shigure 提交于
      [CodeStyle][py36-][E722] remove import handling for collections.abc in different python versions (#48165)
      
      b0eec317
  5. 10 11月, 2022 1 次提交
  6. 09 11月, 2022 1 次提交
  7. 08 11月, 2022 1 次提交
  8. 03 11月, 2022 2 次提交
  9. 02 11月, 2022 3 次提交
  10. 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
  11. 31 10月, 2022 1 次提交
  12. 23 10月, 2022 1 次提交
  13. 19 10月, 2022 1 次提交
  14. 13 10月, 2022 2 次提交
  15. 12 10月, 2022 1 次提交
  16. 11 10月, 2022 1 次提交
  17. 10 10月, 2022 1 次提交
    • Y
      [PHI]Add RNN yaml (#46812) · ab60fd8b
      YuanRisheng 提交于
      * add yaml entry for rnn and rrnn_grad, move infershape function for rnn_grad to phi infer meta
      
      * WIP: move rnn kernrl to phi
      
      * Change the code generation to avoid converting from intializer list to tuple of heterogeneous types.
      This is only triggered when an api has intermediate outputs, and the result of the outputs are of heterogeneous types.
      
      * fix the bug that when none in a vector of tensors requires gradient, the conversion to InferShapeContext to InferMetaContext (a.k.a. BuildInferMetaContext) produces errorous results.
      
      * fix ci bugs
      
      * fix ci bugs
      
      * fix ci bugs
      
      * modify code according comment
      Co-authored-by: Nchenfeiyu <chenfeiyu@baidu.com>
      ab60fd8b
  18. 08 10月, 2022 1 次提交
    • M
      fix some doc bug test=document_fix (#45488) · 04abcab8
      mrcangye 提交于
      * fix some doc bug test=document_fix
      
      * fix some docs issues, test=document_fix
      
      * beta -> \beta in softplus
      
      * threshold -> \varepsilon in softplus
      
      * parameter name
      
      * delta -> \delta in smooth_l1_loss
      
      * fix some docs test=document_fix
      
      * fix docs test=document_fix
      
      * fix docs && 增加空行 test=document_fix
      
      * Update python/paddle/nn/functional/activation.py, test=document_fix
      
      * Update python/paddle/nn/layer/activation.py, test=document_fix
      Co-authored-by: NSigureMo <sigure.qaq@gmail.com>
      04abcab8
  19. 23 9月, 2022 1 次提交
  20. 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
  21. 20 9月, 2022 1 次提交
  22. 14 9月, 2022 1 次提交
  23. 02 9月, 2022 1 次提交
  24. 30 8月, 2022 1 次提交
    • H
      [phi] Transfer coalesce_tensor to phi (#45478) · cf9d651b
      HongyuJia 提交于
      * add coalesce_tensor kernel
      
      * polist coalesce_tensor kernel
      
      * add sig and InferMeta
      
      * add testcase
      
      * add legacy_api.yaml
      
      * fix infermeta
      
      * fix yaml
      
      * fix kernel implementation
      
      * add compile dependency of phi/kernels
      
      * fix MetaConfig
      
      * add python api
      
      * add and fix testcase
      
      * rnn.py add import
      
      * change _C_ops.coalesce_tensor
      
      * remove useless comments
      
      * add SetBackend
      
      * restore XPU kernel temporarily
      
      * fix code according to PR comments
      cf9d651b
  25. 29 8月, 2022 1 次提交
  26. 26 8月, 2022 2 次提交
    • W
      [Eager] delete final state pre-name (#45306) · 126940b3
      wanghuancoder 提交于
      126940b3
    • L
      fix en docs in fft and io.dataset (#44948) · 2dca718a
      Liyulingyue 提交于
      * irfftn; test = docutment_fix
      
      * fft; test=document_fix
      
      * fft; test=document_fix
      
      * fft; test=document_fix
      
      * subdata; test=document_fix
      
      * adaptive_avg_pool2d; test=document_fix
      
      * adaptive_avg_pool3d; test = document_fix
      
      * ftt; test=document_fix
      
      * ftt; test=document_fix
      
      * AvgPool1D; test=document_fix
      
      * avg_pool1d; test=document_fix
      
      * test=document_fix
      
      * test=document_fix
      
      * test=document_fix
      
      * test=document_fix
      
      * fft; test=document_fix
      
      * emb; test=document_fix
      
      * emb; test=document_fix
      
      * emb;test=document_fix
      
      * fold; test=document_fix
      
      * fold; test=document_fix
      
      * fold; test=document_fix
      
      * fold;test=document_fix
      
      * GELU;test=document_fix
      
      * update irfftn docs;test=document_fix
      
      * Update fft.py
      
      * Update fft.py
      
      * Update common.py
      
      * Update common.py
      
      * Update fft.py
      
      * Update input.py
      
      * Update pooling.py
      
      * dropout2d; test=document_fix
      
      * Fold; test=document_fix
      
      * update fold math;test=document_fix
      
      * Update common.py
      Co-authored-by: NLigoml <39876205+Ligoml@users.noreply.github.com>
      2dca718a
  27. 23 8月, 2022 1 次提交
  28. 19 8月, 2022 1 次提交
  29. 15 8月, 2022 1 次提交
  30. 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
  31. 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
  32. 02 8月, 2022 1 次提交
    • W
      [Eager] use eager final state instead intermediate state (#44722) · f1873b90
      Weilong Wu 提交于
      * [Eager] call final_state_slice under eager mode
      
      * rm useless comments
      
      * use eager final state instead intermidiate state
      
      * update fill_constant yaml
      
      * update fill_constant yaml
      
      * modify wrapped_infermeta_gen logic to fix special case
      
      * fix slice in manipulation
      
      * use fill_constant_
      
      * modify slice infermeta
      
      * rm final_state_conv2d
      
      * use final_state_slice
      
      * use final_state_slice only
      
      * polish slice, use final state
      
      * add paddle_throw for SplitInferMeta
      
      * rm fill_constant_ temply
      
      * recover array_equal, not allclose
      
      * recover original code
      f1873b90