提交 fc7f72c0 编写于 作者: W wangyang59

modified after reyoung's comments

上级 48a6168c
......@@ -713,9 +713,8 @@ class MixedLayerType(LayerOutput):
return self
def __exit__(self, exc_type, exc_value, tb):
if exc_type != None:
traceback.print_exception(exc_type, exc_value, tb)
sys.exit(1)
if exc_value is not None:
raise exc_value
assert len(self.inputs) != 0
ml = MixedLayer(
name=self.name,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册