提交 f6f31c3b 编写于 作者: Z ZhenWang

test=develop

上级 7b9d9d70
......@@ -6935,7 +6935,7 @@ def stanh(x, scale_a=2.0 / 3.0, scale_b=1.7159, name=None):
.. code-block:: python
x = fluid.layers.data(name="x", shape=[3,10,32,32], dtype="float32")
y = fluid.layers.stanh(x, scale_a=0.6667, scale_b=1.7159)
y = fluid.layers.stanh(x, scale_a=0.67, scale_b=1.72)
"""
helper = LayerHelper('stanh', **locals())
out = helper.create_variable_for_type_inference(dtype=x.dtype)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册