From d3572213bb9f4dff8e355b00018bddb9d4c18f86 Mon Sep 17 00:00:00 2001 From: akgamerz_790 Date: Sun, 2 Nov 2025 12:38:43 +0530 Subject: [PATCH 1/8] =?UTF-8?q?docs:=20fix=20typos=20(I-1,S-1)=20=E2=80=94?= =?UTF-8?q?=20'inovked'=20=E2=86=92=20'invoked'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/dev_guides/custom_device_docs/device_api_en.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/dev_guides/custom_device_docs/device_api_en.md b/docs/dev_guides/custom_device_docs/device_api_en.md index 6e47bf89ba9..8155b9dbd20 100644 --- a/docs/dev_guides/custom_device_docs/device_api_en.md +++ b/docs/dev_guides/custom_device_docs/device_api_en.md @@ -50,7 +50,7 @@ C_Status (*deinit_device)(const C_Device device) ### Description -It finalizes the designated device, and deallocate resources allocated to all devices. The API is inovked during the exit. If not implemented, it will not be inovked and it is invoked before finalization. +It finalizes the designated device, and deallocate resources allocated to all devices. The API is invoked during the exit. If not implemented, it will not be invoked and it is invoked before finalization. ### Parameter From 9191a47192831267395632f054a17ab74f57cd48 Mon Sep 17 00:00:00 2001 From: akgamerz790 Date: Sun, 2 Nov 2025 14:09:57 +0530 Subject: [PATCH 2/8] =?UTF-8?q?docs:=20fix=20typo=20S-1=20'Squential'=20?= =?UTF-8?q?=E2=86=92=20'Sequential'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../convert_train_code/convert_net_structure_cn.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/model_convert/convert_train_code/convert_net_structure_cn.md b/docs/guides/model_convert/convert_train_code/convert_net_structure_cn.md index d2f57d9a71f..cdf8904f690 100644 --- a/docs/guides/model_convert/convert_train_code/convert_net_structure_cn.md +++ b/docs/guides/model_convert/convert_train_code/convert_net_structure_cn.md @@ -360,7 +360,7 @@ https://www.paddlepaddle.org.cn/modelbase。 仍然以 LeNet 模型为例,手工转化的具体操作如下。 -1. 通过阅读 PyTorch 源码可知,构建 LeNet 使用到的 PyTorch API 有:`nn.Module`, `nn.Squential`, `nn.Conv2d`, `nn.ReLU`, `nn.MaxPool2d`, `nn.Linear`以及`torch.flatten`。 +1. 通过阅读 PyTorch 源码可知,构建 LeNet 使用到的 PyTorch API 有:`nn.Module`, `nn.Sequential`, `nn.Conv2d`, `nn.ReLU`, `nn.MaxPool2d`, `nn.Linear`以及`torch.flatten`。 2. 通过查找 [PyTorch-飞桨 API 映射表](https://www.paddlepaddle.org.cn/documentation/docs/zh/guides/model_convert/pytorch_api_mapping_cn.html),找到对应的飞桨 API: | **PyTorch** | **飞桨** | 差异对比 | From 5e6535e281eae605e5fd2b98a1c241ac6b6347a3 Mon Sep 17 00:00:00 2001 From: akgamerz790 Date: Sun, 2 Nov 2025 14:45:14 +0530 Subject: [PATCH 3/8] =?UTF-8?q?docs:=20fix=20second=20instance=20of=20S-1?= =?UTF-8?q?=20'Squential'=20=E2=86=92=20'Sequential'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../convert_from_pytorch/convert_net_structure_cn.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/model_convert/convert_from_pytorch/convert_net_structure_cn.md b/docs/guides/model_convert/convert_from_pytorch/convert_net_structure_cn.md index 217bfd4216f..b892a06720b 100644 --- a/docs/guides/model_convert/convert_from_pytorch/convert_net_structure_cn.md +++ b/docs/guides/model_convert/convert_from_pytorch/convert_net_structure_cn.md @@ -360,7 +360,7 @@ https://www.paddlepaddle.org.cn/modelbase。 仍然以 LeNet 模型为例,手工转化的具体操作如下。 -1. 通过阅读 PyTorch 源码可知,构建 LeNet 使用到的 PyTorch API 有:`nn.Module`, `nn.Squential`, `nn.Conv2d`, `nn.ReLU`, `nn.MaxPool2d`, `nn.Linear`以及`torch.flatten`。 +1. 通过阅读 PyTorch 源码可知,构建 LeNet 使用到的 PyTorch API 有:`nn.Module`, `nn.Sequential`, `nn.Conv2d`, `nn.ReLU`, `nn.MaxPool2d`, `nn.Linear`以及`torch.flatten`。 2. 通过查找 [PyTorch-飞桨 API 映射表](https://www.paddlepaddle.org.cn/documentation/docs/zh/guides/model_convert/pytorch_api_mapping_cn.html),找到对应的飞桨 API: | **PyTorch** | **飞桨** | 差异对比 | From 34cd0e76e6a8389d1bc710695fbb351d62c81a1f Mon Sep 17 00:00:00 2001 From: akgamerz790 Date: Sun, 2 Nov 2025 16:22:31 +0530 Subject: [PATCH 4/8] Fixed a typo accordding -> according --- docs/design/modules/net_op_design.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/design/modules/net_op_design.md b/docs/design/modules/net_op_design.md index 6e7d87f86ff..def3e2c123f 100644 --- a/docs/design/modules/net_op_design.md +++ b/docs/design/modules/net_op_design.md @@ -106,7 +106,7 @@ class PlainNet : public Net { virtual Error AddBackwardOps() override; protected: - // Create operators accordding to `def`, will be called by the constructor. + // Create operators according to `def`, will be called by the constructor. Error BuildNet(const NetDesc &def); // Add a operator which is identified as `type` and has attributes described From 22803581d5a5771890fafcc8c87b27d42e12596c Mon Sep 17 00:00:00 2001 From: akgamerz790 Date: Sun, 2 Nov 2025 16:29:23 +0530 Subject: [PATCH 5/8] Fix A-6 typo: accpetance -> acceptance (7 instances) --- .../api_contributing_guides/api_contributing_guides_cn.rst | 4 ++-- docs/dev_guides/api_contributing_guides/new_cpp_op_cn.md | 2 +- docs/dev_guides/api_contributing_guides/new_python_api_cn.md | 4 ++-- .../api_contributing_guides/read_before_contributing_cn.md | 2 +- .../op_optimization_contributing_guides_cn.rst | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/dev_guides/api_contributing_guides/api_contributing_guides_cn.rst b/docs/dev_guides/api_contributing_guides/api_contributing_guides_cn.rst index 00cbd1d7f4f..11ace8b1a52 100644 --- a/docs/dev_guides/api_contributing_guides/api_contributing_guides_cn.rst +++ b/docs/dev_guides/api_contributing_guides/api_contributing_guides_cn.rst @@ -73,7 +73,7 @@ API 设计文档的目的是为了社区开发者更容易的参与开源项目 ", "`Github 飞桨训练框架仓库 `_" "2、API 英文文档", "- `API 文档书写规范 `_", "`Github 飞桨训练框架仓库 `_" "3、API 中文文档", "- `API 文档书写规范 `_", "`Github 飞桨文档仓库 `_" - "4、API 单测代码", "- `API 验收标准 <./api_accpetance_criteria_cn.html>`_", "`Github 飞桨训练框架仓库 `_" + "4、API 单测代码", "- `API 验收标准 <./api_acceptance_criteria_cn.html>`_", "`Github 飞桨训练框架仓库 `_" 当开发者完成以上代码设计后,需要将代码提交至 `Github 飞桨训练框架仓库 `_ ,并根据 `本地开发指南 `_ 提交 PR、准备接受社区的评审。 @@ -108,4 +108,4 @@ API 设计文档的目的是为了社区开发者更容易的参与开源项目 auto_parallel_op_cn.md api_design_guidelines_standard_cn.md api_docs_guidelines_cn.md - api_accpetance_criteria_cn.md + api_acceptance_criteria_cn.md diff --git a/docs/dev_guides/api_contributing_guides/new_cpp_op_cn.md b/docs/dev_guides/api_contributing_guides/new_cpp_op_cn.md index c84a1b1eb83..6019f1f3918 100644 --- a/docs/dev_guides/api_contributing_guides/new_cpp_op_cn.md +++ b/docs/dev_guides/api_contributing_guides/new_cpp_op_cn.md @@ -990,7 +990,7 @@ class TestTraceOp(OpTest): Python API 也需要编写相关的单测进行测试,详见 [开发 API Python 端](new_python_api_cn.html)。 -其他有关单元测试添加的注意事项请参考 [Op 开发手册](https://github.com/PaddlePaddle/Paddle/wiki/Operator-Development-Manual-Index) 及 [API 单测开发及验收规范](api_accpetance_criteria_cn.html)。 +其他有关单元测试添加的注意事项请参考 [Op 开发手册](https://github.com/PaddlePaddle/Paddle/wiki/Operator-Development-Manual-Index) 及 [API 单测开发及验收规范](api_acceptance_criteria_cn.html)。 ### 6.3 运行单元测试 diff --git a/docs/dev_guides/api_contributing_guides/new_python_api_cn.md b/docs/dev_guides/api_contributing_guides/new_python_api_cn.md index 19ff517967f..04117011535 100644 --- a/docs/dev_guides/api_contributing_guides/new_python_api_cn.md +++ b/docs/dev_guides/api_contributing_guides/new_python_api_cn.md @@ -324,7 +324,7 @@ from .tensor.math import trace **(2)Python API 单测开发及验收规范** -请遵循飞桨的 [API 单测开发及验收规范](api_accpetance_criteria_cn.html),需提前阅读。 +请遵循飞桨的 [API 单测开发及验收规范](api_acceptance_criteria_cn.html),需提前阅读。 > 特别注意:单元测试要求新增代码单元测试行覆盖率达到 90%,可在 [CI 测试](../git_guides/paddle_ci_manual_cn.html) 的 PR-CI-Coverage 测试项中查看覆盖率。 @@ -509,6 +509,6 @@ Paddle 编译过程中,对于 Python 代码的处理方式是,先把它们 - [Op 开发手册(Operator Development Manual)](https://github.com/PaddlePaddle/Paddle/wiki/Operator-Development-Manual-Index) - [API 的设计和命名规范](api_docs_guidelines_cn.html) -- [API 单测开发及验收规范](api_accpetance_criteria_cn.html) +- [API 单测开发及验收规范](api_acceptance_criteria_cn.html) - [文档贡献指南](../docs_contributing_guides_cn.html) - [API 文档书写规范](api_docs_guidelines_cn.html) diff --git a/docs/dev_guides/api_contributing_guides/read_before_contributing_cn.md b/docs/dev_guides/api_contributing_guides/read_before_contributing_cn.md index 7623bca1aec..094bbeaa2ce 100644 --- a/docs/dev_guides/api_contributing_guides/read_before_contributing_cn.md +++ b/docs/dev_guides/api_contributing_guides/read_before_contributing_cn.md @@ -46,5 +46,5 @@ - [代码风格规范](../git_guides/codestyle_check_guide_cn.html) - [API 设计和命名规范](api_design_guidelines_standard_cn.html) -- [API 单元测试及验收规范](api_accpetance_criteria_cn.html) +- [API 单元测试及验收规范](api_acceptance_criteria_cn.html) - [Paddle CI 测试详解](../git_guides/paddle_ci_manual_cn.html) diff --git a/docs/dev_guides/op_optimization/op_optimization_contributing_guides_cn.rst b/docs/dev_guides/op_optimization/op_optimization_contributing_guides_cn.rst index 314f8e6a8a6..1e154c16aa0 100644 --- a/docs/dev_guides/op_optimization/op_optimization_contributing_guides_cn.rst +++ b/docs/dev_guides/op_optimization/op_optimization_contributing_guides_cn.rst @@ -66,7 +66,7 @@ - `C++ OP 开发指南 <../api_contributing_guides/new_cpp_op_cn.html>`_ - `OP Benchmark 使用指南 `_ - `算子性能优化 优化方法 <./op_optimization_method_introduction_cn.html>`_ - - `算子性能优化 验收规范 <./op_optimization_accpetance_criteria_cn.html>`_ + - `算子性能优化 验收规范 <./op_optimization_acceptance_criteria_cn.html>`_ ", "`Github 飞桨训练框架仓库 `_" @@ -98,5 +98,5 @@ :hidden: op_optimization_method_introduction_cn.md - op_optimization_accpetance_criteria_cn.md + op_optimization_acceptance_criteria_cn.md kernel_primitive_api/index_cn.rst From 55000bb761cc4036757f2263e1e8f37738338734 Mon Sep 17 00:00:00 2001 From: akgamerz790 Date: Sun, 2 Nov 2025 16:45:42 +0530 Subject: [PATCH 6/8] Rename file to fix A-6 typo: api_accpetance_criteria_cn.md -> api_acceptance_criteria_cn.md --- ...pi_accpetance_criteria_cn.md => api_acceptance_criteria_cn.md} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename docs/dev_guides/api_contributing_guides/{api_accpetance_criteria_cn.md => api_acceptance_criteria_cn.md} (100%) diff --git a/docs/dev_guides/api_contributing_guides/api_accpetance_criteria_cn.md b/docs/dev_guides/api_contributing_guides/api_acceptance_criteria_cn.md similarity index 100% rename from docs/dev_guides/api_contributing_guides/api_accpetance_criteria_cn.md rename to docs/dev_guides/api_contributing_guides/api_acceptance_criteria_cn.md From 59bf7149e001737721b0e00ecf8db896ec71de09 Mon Sep 17 00:00:00 2001 From: ooooo <3164076421@qq.com> Date: Sun, 2 Nov 2025 21:53:32 +0800 Subject: [PATCH 7/8] Rename op_optimization_acceptance_criteria_cn.md to op_optimization_accpetance_criteria_cn.md and update _typos.toml --- _typos.toml | 2 -- ...criteria_cn.md => op_optimization_acceptance_criteria_cn.md} | 0 2 files changed, 2 deletions(-) rename docs/dev_guides/op_optimization/{op_optimization_accpetance_criteria_cn.md => op_optimization_acceptance_criteria_cn.md} (100%) diff --git a/_typos.toml b/_typos.toml index 57eb6970da2..8549501a9cf 100644 --- a/_typos.toml +++ b/_typos.toml @@ -42,9 +42,7 @@ Similarily = "Similarily" Simle = "Simle" Sovler = "Sovler" Successed = "Successed" -accordding = "accordding" accoustic = "accoustic" -accpetance = "accpetance" cantains = "cantains" classfy = "classfy" cliping = "cliping" diff --git a/docs/dev_guides/op_optimization/op_optimization_accpetance_criteria_cn.md b/docs/dev_guides/op_optimization/op_optimization_acceptance_criteria_cn.md similarity index 100% rename from docs/dev_guides/op_optimization/op_optimization_accpetance_criteria_cn.md rename to docs/dev_guides/op_optimization/op_optimization_acceptance_criteria_cn.md From a059dd481d96cb14f821d0c27e2180d30264e3df Mon Sep 17 00:00:00 2001 From: ooooo <3164076421@qq.com> Date: Sun, 2 Nov 2025 22:32:10 +0800 Subject: [PATCH 8/8] fix merge conflicts --- _typos.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/_typos.toml b/_typos.toml index 84484e67112..12efae3da41 100644 --- a/_typos.toml +++ b/_typos.toml @@ -38,7 +38,6 @@ Simle = "Simle" Sovler = "Sovler" Successed = "Successed" accoustic = "accoustic" -cantains = "cantains" classfy = "classfy" contxt = "contxt" convertion = "convertion"