Skip to content

Commit 96ea064

Browse files
authored
fix method parameters in guidelines (#5284)
1 parent 3468339 commit 96ea064

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/dev_guides/api_contributing_guides/api_docs_guidelines_cn.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,7 @@ API 的属性用来描述 API 所包含的属性。如果 API 有属性,每个
311311
程序中随机运算符的默认随机种子。0 意味着随机生成随机种子。
312312

313313
**返回**
314+
314315
int64,返回该 Program 中当前正在使用的 random seed。
315316

316317
**代码示例**
@@ -335,12 +336,15 @@ API 的方法用来描述 API 所包含的方法,一些类的 API 会有这个
335336
''''''''''''
336337

337338
.. py:function:: paddle.Program.parse_from_string(binary_str_type)
339+
338340
通过对 protobuf 的反序列化,转换成 ``Program``
339341

340342
**参数**
341-
binary_str_type (**str**) – protobuf 二进制字符串
343+
344+
- **binary_str_type** (str) – protobuf 二进制字符串
342345

343346
**返回**
347+
344348
``Program``,反序列化后的 ``Program``
345349

346350
**代码示例**

0 commit comments

Comments
 (0)