Skip to content

Commit 54791af

Browse files
author
Kavya Srinet
committed
Addressing review comments
1 parent d7d3b41 commit 54791af

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

doc/api/v2/fluid/io.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ IO
44

55

66

7-
isParameter
7+
is_parameter
88
-----------
99
.. autofunction:: paddle.v2.fluid.io.is_parameter
1010
:noindex:

python/paddle/v2/fluid/io.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@
1111

1212

1313
def is_parameter(var):
14-
"""Check whether the variable is a Parameter
14+
"""Check whether the variable is a Parameter.
1515
1616
This function checks whether the input variable is a Parameter.
1717
1818
Args:
1919
var : The input variable.
2020
2121
Returns:
22-
boolean result whether the variable is a Parameter
22+
boolean result whether the variable is a Parameter.
2323
"""
2424
return isinstance(var, Parameter)
2525

0 commit comments

Comments
 (0)