未验证 提交 fa1fb12b 编写于 作者: F fengjiayi 提交者: GitHub

Merge pull request #11706 from JiayiFeng/expose_Parameter_2

make framework.Parameter public
......@@ -27,6 +27,7 @@ __all__ = [
'Variable',
'Program',
'Operator',
'Parameter',
'default_startup_program',
'default_main_program',
'program_guard',
......@@ -1922,7 +1923,7 @@ def program_guard(main_program, startup_program=None):
def get_var(name, program=None):
"""
Get a variable by name from the global block of a program.
Args:
name(str): name of the variable
program(Program|None): program object.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册