Skip to content

Commit f6f31c3

Browse files
committed
test=develop
1 parent 7b9d9d7 commit f6f31c3

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
@@ -6935,7 +6935,7 @@ def stanh(x, scale_a=2.0 / 3.0, scale_b=1.7159, name=None):
69356935
.. code-block:: python
69366936
69376937
x = fluid.layers.data(name="x", shape=[3,10,32,32], dtype="float32")
6938-
y = fluid.layers.stanh(x, scale_a=0.6667, scale_b=1.7159)
6938+
y = fluid.layers.stanh(x, scale_a=0.67, scale_b=1.72)
69396939
"""
69406940
helper = LayerHelper('stanh', **locals())
69416941
out = helper.create_variable_for_type_inference(dtype=x.dtype)

0 commit comments

Comments
 (0)