提交 398c72f1 编写于 作者: J Jason 提交者: GitHub

modify error message

上级 66697b53
...@@ -102,8 +102,8 @@ class TensorflowGraph(Graph): ...@@ -102,8 +102,8 @@ class TensorflowGraph(Graph):
self.node_map[layer.name]) self.node_map[layer.name])
self._make_connection(pred_node, self.node_map[pred]) self._make_connection(pred_node, self.node_map[pred])
else: else:
raise Exception("Unsupported situation(name:[{}], \ raise Exception("\nUnsupported situation(name:[{}]," \
OP[{}])".format(node.layer_name, node.layer_type)) "OP[{}])".format(layer.name, layer.op))
elif pred in self.node_map: elif pred in self.node_map:
self._make_connection(self.node_map[pred], self._make_connection(self.node_map[pred],
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册