Skip to content

Commit fa1fb12

Browse files
authored
Merge pull request #11706 from JiayiFeng/expose_Parameter_2
make framework.Parameter public
2 parents fc697f0 + d0a8eea commit fa1fb12

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

python/paddle/fluid/framework.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
'Variable',
2828
'Program',
2929
'Operator',
30+
'Parameter',
3031
'default_startup_program',
3132
'default_main_program',
3233
'program_guard',
@@ -1922,7 +1923,7 @@ def program_guard(main_program, startup_program=None):
19221923
def get_var(name, program=None):
19231924
"""
19241925
Get a variable by name from the global block of a program.
1925-
1926+
19261927
Args:
19271928
name(str): name of the variable
19281929
program(Program|None): program object.

0 commit comments

Comments
 (0)