From 77ff14aa78ac6e9b5de649b1ab45536596c641e5 Mon Sep 17 00:00:00 2001 From: Yu Yang Date: Wed, 28 Feb 2018 16:22:40 +0800 Subject: [PATCH] Not support batchnorm --- python/paddle/fluid/tests/unittests/test_parallel_op.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/paddle/fluid/tests/unittests/test_parallel_op.py b/python/paddle/fluid/tests/unittests/test_parallel_op.py index cd20b430f93..1a7551c57b2 100644 --- a/python/paddle/fluid/tests/unittests/test_parallel_op.py +++ b/python/paddle/fluid/tests/unittests/test_parallel_op.py @@ -170,6 +170,7 @@ class ParallelOpTest(BaseParallelForTest): x = fluid.layers.data(shape=[784], dtype='float32', name='img') x = yield x hidden = fluid.layers.fc(input=x, size=200, param_attr='fc1.w') + hidden = fluid.layers.batch_norm(input=hidden) loss = fluid.layers.mean(hidden) yield loss -- GitLab