Skip to content

Commit 43b9202

Browse files
committed
test=develop
1 parent 1f0fa67 commit 43b9202

File tree

1 file changed

+1
-1
lines changed
  • python/paddle/fluid/layers

1 file changed

+1
-1
lines changed

python/paddle/fluid/layers/nn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6993,7 +6993,7 @@ def swish(x, beta=1.0, name=None):
69936993
.. code-block:: python
69946994
69956995
x = fluid.layers.data(name="x", shape=[3,10,32,32], dtype="float32")
6996-
y = fluid.layers.swish(x, beta=1.2)
6996+
y = fluid.layers.swish(x, beta=2.0)
69976997
"""
69986998
helper = LayerHelper('swish', **locals())
69996999
out = helper.create_variable_for_type_inference(dtype=x.dtype)

0 commit comments

Comments
 (0)