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

add_depthwiseConv_op_gpu
Kavya Srinet 7 years ago
parent 020630b7a3
commit 25c8739362

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

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

Loading…
Cancel
Save