From 67bac4892822290a1bcc215ba12d4933d6c90f39 Mon Sep 17 00:00:00 2001 From: LiuChiaChi <709153940@qq.com> Date: Sun, 27 Sep 2020 06:29:33 +0000 Subject: [PATCH] solve conflicts --- python/paddle/hapi/model.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/python/paddle/hapi/model.py b/python/paddle/hapi/model.py index fd6161f1cf..ea6d310ad5 100644 --- a/python/paddle/hapi/model.py +++ b/python/paddle/hapi/model.py @@ -854,7 +854,6 @@ class Model(object): self._is_shape_inferred = False self._test_dataloader = None -<<<<<<< HEAD if not in_dygraph_mode(): if not isinstance(inputs, (list, dict, Input)): raise TypeError( @@ -863,13 +862,6 @@ class Model(object): self._shapes = [list(input.shape) for input in inputs] self._inputs = self._verify_spec(inputs, is_input=True) -======= - if not isinstance(inputs, (list, dict, Input)): - raise TypeError( - "'inputs' must be list or dict in static graph mode") - - self._inputs = self._verify_spec(inputs, True) ->>>>>>> 6b727e08b1f38b3f4acc1708c163ed6ae5df8d58 self._labels = self._verify_spec(labels) # init backend -- GitLab