提交 86067c9d 编写于 作者: F Feiyu Chan 提交者: Yibing Liu

fix example for thresholded relu, test=document_preview (#1477)

上级 1cc928ff
......@@ -34,7 +34,7 @@ thresholded_relu
from paddle import fluid
x = fluid.layers.data(name="x", shape=(3,), dtype="float32")
y = fluid.layers.thresholded_relu(x, beta=0.1)
y = fluid.layers.thresholded_relu(x, threshold=0.1)
place = fluid.CPUPlace()
exe = fluid.Executor(place)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册