Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@ API 的属性用来描述 API 所包含的属性。如果 API 有属性,每个
程序中随机运算符的默认随机种子。0 意味着随机生成随机种子。

**返回**

int64,返回该 Program 中当前正在使用的 random seed。

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

.. py:function:: paddle.Program.parse_from_string(binary_str_type)

通过对 protobuf 的反序列化,转换成 ``Program``

**参数**
binary_str_type (**str**) – protobuf 二进制字符串

- **binary_str_type** (str) – protobuf 二进制字符串
Comment on lines 342 to +344
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

原来这是个什么鬼啊 😂


**返回**

``Program``,反序列化后的 ``Program``

**代码示例**
Expand Down