From 6396fceda48020676c8163591e35ec6bcee29762 Mon Sep 17 00:00:00 2001 From: LiuChiaChi <709153940@qq.com> Date: Sun, 27 Sep 2020 06:28:09 +0000 Subject: [PATCH] solve conflicts --- python/paddle/tests/test_model.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/python/paddle/tests/test_model.py b/python/paddle/tests/test_model.py index 34e7065cd2..69a888de9c 100644 --- a/python/paddle/tests/test_model.py +++ b/python/paddle/tests/test_model.py @@ -614,7 +614,6 @@ class TestRaiseError(unittest.TestCase): with self.assertRaises(ValueError): model = Model(net, inputs, labels) -<<<<<<< HEAD def test_export_deploy_model_without_inputs_and_run_in_dygraph(self): paddle.disable_static() net = MyModel(classifier_activation=None) @@ -625,15 +624,6 @@ class TestRaiseError(unittest.TestCase): model = Model(net) model.save(save_dir, training=False) paddle.enable_static() -======= - def test_input_without_input_spec(self): - for dynamic in [True, False]: - paddle.disable_static() if dynamic else None - net = MyModel() - with self.assertRaises(TypeError): - model = Model(net) - paddle.enable_static() ->>>>>>> 6b727e08b1f38b3f4acc1708c163ed6ae5df8d58 if __name__ == '__main__': -- GitLab