提交 54791af6 编写于 作者: K Kavya Srinet

Addressing review comments

上级 d7d3b411
...@@ -4,7 +4,7 @@ IO ...@@ -4,7 +4,7 @@ IO
isParameter is_parameter
----------- -----------
.. autofunction:: paddle.v2.fluid.io.is_parameter .. autofunction:: paddle.v2.fluid.io.is_parameter
:noindex: :noindex:
...@@ -11,7 +11,7 @@ __all__ = [ ...@@ -11,7 +11,7 @@ __all__ = [
def is_parameter(var): def is_parameter(var):
"""Check whether the variable is a Parameter """Check whether the variable is a Parameter.
This function checks whether the input variable is a Parameter. This function checks whether the input variable is a Parameter.
...@@ -19,7 +19,7 @@ def is_parameter(var): ...@@ -19,7 +19,7 @@ def is_parameter(var):
var : The input variable. var : The input variable.
Returns: Returns:
boolean result whether the variable is a Parameter boolean result whether the variable is a Parameter.
""" """
return isinstance(var, Parameter) return isinstance(var, Parameter)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册