From 2f4e968b81a0f266c3adb31bf4e3fdd63ec4576c Mon Sep 17 00:00:00 2001 From: caoying03 Date: Thu, 8 Jun 2017 10:04:45 +0800 Subject: [PATCH] follow comments. --- python/paddle/v2/topology.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/paddle/v2/topology.py b/python/paddle/v2/topology.py index 5109dc58fe5..a20e878d081 100644 --- a/python/paddle/v2/topology.py +++ b/python/paddle/v2/topology.py @@ -92,7 +92,7 @@ class Topology(object): data_layers = self.data_layers() return [(nm, data_layers[nm].data_type) - for nm in self.proto().input_layer_names if nm in data_layers] + for nm in self.proto().input_layer_names] def get_layer_proto(self, name): for layer in self.__model_config__.layers: -- GitLab