Skip to content

Commit e9ed62b

Browse files
committed
make framework.Parameter public
1 parent 6f6642e commit e9ed62b

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',
@@ -1905,7 +1906,7 @@ def program_guard(main_program, startup_program=None):
19051906
def get_var(name, program=None):
19061907
"""
19071908
Get a variable by name from the global block of a program.
1908-
1909+
19091910
Args:
19101911
name(str): name of the variable
19111912
program(Program|None): program object.

0 commit comments

Comments
 (0)