Skip to content

Commit 42dd21a

Browse files
committed
polish code
1 parent 3e5857d commit 42dd21a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/paddle/api/paddle/fluid/framework/Program_cn.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ dict, 包含持久性变量的dict,键值是持久性变量的名字,值
512512
参数
513513
:::::::::
514514
- state_dict (dict) - 包含持久性变量的字典。键值是持久性变量的名字,值为持久性变量。
515-
- scope (Scope, 可选) - 如果scope为 ``None`` ,通过 `paddle.static.global_scope()` 获取全局/默认作用域实例,并将 ``state_dict`` 中参数和可持久性buffers设置到这个作用域中;否则将 ``state_dict`` 设置到指定的 ``scope`` 中。默认值为 ``None`` 。
515+
- scope (Scope, 可选) - 如果scope为 ``None`` ,通过 `paddle.static.global_scope()` 获取全局/默认作用域实例,并将 ``state_dict`` 中久性变量设置到这个作用域中;否则将 ``state_dict`` 设置到指定的 ``scope`` 中。默认值为 ``None`` 。
516516

517517
返回
518518
:::::::::

0 commit comments

Comments
 (0)