提交 25c87393 编写于 作者: K Kavya Srinet

Adding the rst file to render IO under Fluid in paddlepaddle.org

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