Skip to content

Commit d9b8a55

Browse files
xxiu1Echo-Nie
andauthored
[CodeStyle][Typos][C-[10-15]] Fix typo(commmit,complie,condtional,conjuction,contruct,contructed) (#7586)
* [Docathon][Fix Doc Format No.22] fix doc ParallelEnv_cn * [Docathon][Fix Doc Format No.23、24] fix doc parallelize_cn.rst、Strategy_cn.rst * Revert: restore parallelize_cn.rst to upstream/develop version * fix typos and update documentation --------- Co-authored-by: Echo-Nie <[email protected]>
1 parent 998ad18 commit d9b8a55

File tree

8 files changed

+7
-13
lines changed

8 files changed

+7
-13
lines changed

_typos.toml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,7 @@ cantains = "cantains"
6060
classfy = "classfy"
6161
cliping = "cliping"
6262
colunms = "colunms"
63-
commmit = "commmit"
64-
complie = "complie"
65-
condtional = "condtional"
66-
conjuction = "conjuction"
6763
containg = "containg"
68-
contruct = "contruct"
69-
contructed = "contructed"
7064
contruction = "contruction"
7165
contxt = "contxt"
7266
convertion = "convertion"

docs/design/concurrent/go_op.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Introduction
44

55
The **go_op** allows user's of PaddlePaddle to run program blocks on a detached
6-
thread. It works in conjuction with CSP operators (channel_send,
6+
thread. It works in conjunction with CSP operators (channel_send,
77
channel_receive, channel_open, channel_close, and select) to allow users to
88
concurrently process data and communicate easily between different threads.
99

docs/design/memory/memory_optimization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ At last, we take basic strategy and liveness analysis techniques learning from c
9999
In-place is a built-in attribute of an operator. Since we treat in-place and other operators differently, we have to add an in-place attribute for every operator.
100100

101101

102-
#### contruct control flow graph
102+
#### construct control flow graph
103103

104104
Following is the ProgramDesc protobuf of [machine translation](https://github.com/PaddlePaddle/Paddle/blob/develop/python/paddle/fluid/tests/book/test_machine_translation.py) example.
105105

docs/design/others/gan_api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ build the whole GAN model, define training loss for both generator and discrimat
4242
To be more detailed, we introduce our design of DCGAN as following:
4343

4444
### Class member Function: Initializer
45-
- Set up hyper-parameters, including condtional dimension, noise dimension, batch size and so forth.
45+
- Set up hyper-parameters, including conditional dimension, noise dimension, batch size and so forth.
4646
- Declare and define all the model variables. All the discriminator parameters are included in the list self.theta_D and all the generator parameters are included in the list self.theta_G.
4747
```python
4848
class DCGAN:

docs/dev_guides/git_guides/local_dev_guide_cn.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ clang-format.......................................(no files to check)Skipped
116116
create mode 100644 233
117117
```
118118

119-
可以看到,在执行`git commit`后,输出了一些额外的信息。这是使用`pre-commmit`进行代码风格检查的结果,关于代码风格检查的使用问题请参考[代码风格检查指南](./codestyle_check_guide_cn.html)
119+
可以看到,在执行`git commit`后,输出了一些额外的信息。这是使用`pre-commit`进行代码风格检查的结果,关于代码风格检查的使用问题请参考[代码风格检查指南](./codestyle_check_guide_cn.html)
120120

121121
## 保持本地仓库最新
122122

File renamed without changes.

docs/dev_guides/sugon/index_cn.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44

55
以下将说明 Paddle 适配曙光相关的开发指南:
66

7-
- `曙光智算平台-Paddle 源码编译和单测执行 <./complie_and_test_cn.html>`_ : 如何曙光曙光智算平台编译 Paddle 源码编译并执行单测。
7+
- `曙光智算平台-Paddle 源码编译和单测执行 <./compile_and_test_cn.html>`_ : 如何曙光曙光智算平台编译 Paddle 源码编译并执行单测。
88
- `Paddle 适配 C86 加速卡详解 <./paddle_c86_cn.html>`_ : 详解 Paddle 适配 C86 加速卡。
99
- `Paddle 框架下 ROCm(HIP)算子单测修复指导 <./paddle_c86_fix_guides_cn.html>`_ : 指导 Paddle 框架下 ROCm(HIP)算子单测修复。
1010

1111

1212
.. toctree::
1313
:hidden:
1414

15-
complie_and_test_cn.md
15+
compile_and_test_cn.md
1616
paddle_c86_cn.md
1717
paddle_c86_fix_guides_cn.md

docs/guides/advanced/layer_and_model_en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class Model(paddle.nn.Layer):
2727
return y
2828
```
2929

30-
Here we contructed a ``Model`` which inherited from ``paddle.nn.Layer``. This model only holds a single layer of ``paddle.nn.Flatten``, which flattens the input variables **inputs** upon execution.
30+
Here we constructed a ``Model`` which inherited from ``paddle.nn.Layer``. This model only holds a single layer of ``paddle.nn.Flatten``, which flattens the input variables **inputs** upon execution.
3131

3232
## Sublayers
3333

0 commit comments

Comments
 (0)