未验证 提交 41aaebdb 编写于 作者: W wawltor 提交者: GitHub

Fix the elementwise_min doc api bug, correct the api used (#1885)

In elementwise_min api doc has the error, all the api just use the elementwise_max op, we just correct the doc.
上级 580ab987
......@@ -60,7 +60,7 @@ elementwise_min
x = fluid.layers.data(name="x", shape=[3], dtype='float32')
y = fluid.layers.data(name="y", shape=[3], dtype='float32')
z = fluid.layers.elementwise_max(x, y)
z = fluid.layers.elementwise_min(x, y)
place = fluid.CPUPlace()
exe = fluid.Executor(place)
......@@ -84,7 +84,7 @@ elementwise_min
x = fluid.layers.data(name="x", shape=[2,3,4,5], dtype='float32')
y = fluid.layers.data(name="y", shape=[3,4], dtype='float32')
z = fluid.layers.elementwise_max(x, y, axis=1)
z = fluid.layers.elementwise_min(x, y, axis=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.
先完成此消息的编辑!
想要评论请 注册