From 30332ad91d6c69b841d7ead0bb000b5964287a7b Mon Sep 17 00:00:00 2001 From: JiabinYang Date: Tue, 13 Nov 2018 06:34:56 +0000 Subject: [PATCH] test=develop --- python/paddle/fluid/tests/unittests/test_layers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/paddle/fluid/tests/unittests/test_layers.py b/python/paddle/fluid/tests/unittests/test_layers.py index b067e6213..4379aeb99 100644 --- a/python/paddle/fluid/tests/unittests/test_layers.py +++ b/python/paddle/fluid/tests/unittests/test_layers.py @@ -185,8 +185,8 @@ class TestBook(unittest.TestCase): input=x, label=y, num_classes=2)) print(str(program)) + # test hsigmod with custom tree structure program2 = Program() - with program_guard(program2): x2 = layers.data(name='x2', shape=[4, 8], dtype='float32') y2 = layers.data(name='y2', shape=[4], dtype='int64') -- GitLab