Merge pull request #7470 from kavyasrinet/doc

Adding the rst file to render IO under Fluid in paddlepaddle.org
add_depthwiseConv_op_gpu
Tao Luo 7 years ago committed by GitHub
commit b4d1811c9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -15,4 +15,4 @@ Fluid
fluid/param_attr.rst
fluid/profiler.rst
fluid/regularizer.rst
fluid/io.rst

@ -0,0 +1,10 @@
===========
IO
===========
is_parameter
-----------
.. 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)

Loading…
Cancel
Save