diff --git a/doc/api/v2/fluid/io.rst b/doc/api/v2/fluid/io.rst index 861822d36d8d81dd67380696fbd634bd59a69705..67f68c4e9e16b379207b8de114cdf769e056f78e 100644 --- a/doc/api/v2/fluid/io.rst +++ b/doc/api/v2/fluid/io.rst @@ -4,7 +4,7 @@ IO -isParameter +is_parameter ----------- .. autofunction:: paddle.v2.fluid.io.is_parameter :noindex: diff --git a/python/paddle/v2/fluid/io.py b/python/paddle/v2/fluid/io.py index 0d5f68336ac4ef345160ea9627b7ed49c0205bbe..eef1e283c2c9db6de375b70f94c50f8dce140d52 100644 --- a/python/paddle/v2/fluid/io.py +++ b/python/paddle/v2/fluid/io.py @@ -11,7 +11,7 @@ __all__ = [ 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. @@ -19,7 +19,7 @@ def is_parameter(var): var : The input variable. Returns: - boolean result whether the variable is a Parameter + boolean result whether the variable is a Parameter. """ return isinstance(var, Parameter)