未验证 提交 88e05c40 编写于 作者: H hong 提交者: GitHub

fix parallel ssa graph executor test hang; test=develop (#25358)

上级 d44ba589
......@@ -27,7 +27,7 @@ class TestParallelExecutorFetchIsolatedVarBase(unittest.TestCase):
def build_network(self, is_training):
x = fluid.data(name='x', shape=[-1, 10], dtype='float32')
y = fluid.data(name='y', shape=[-1, 10], dtype='float32')
fc = fluid.layers.fc(x, size=30)
fc = fluid.layers.fc(x, size=30, bias_attr=False)
loss = fluid.layers.reduce_mean(fc)
if is_training:
adam = fluid.optimizer.Adam(learning_rate=1e-3)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册