From 43b9202d9bd57cf11403d1fd8d0189ce8f68e3b3 Mon Sep 17 00:00:00 2001 From: ZhenWang Date: Thu, 22 Nov 2018 21:49:49 +0800 Subject: [PATCH] test=develop --- python/paddle/fluid/layers/nn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/paddle/fluid/layers/nn.py b/python/paddle/fluid/layers/nn.py index 2891893fde3..8db6d80aa54 100644 --- a/python/paddle/fluid/layers/nn.py +++ b/python/paddle/fluid/layers/nn.py @@ -6993,7 +6993,7 @@ def swish(x, beta=1.0, name=None): .. code-block:: python x = fluid.layers.data(name="x", shape=[3,10,32,32], dtype="float32") - y = fluid.layers.swish(x, beta=1.2) + y = fluid.layers.swish(x, beta=2.0) """ helper = LayerHelper('swish', **locals()) out = helper.create_variable_for_type_inference(dtype=x.dtype) -- GitLab