提交 5404f9e7 编写于 作者: W wjj19950828

fix code style

上级 54d35271
...@@ -109,7 +109,7 @@ class PaddleGraph(object): ...@@ -109,7 +109,7 @@ class PaddleGraph(object):
layer = PaddleLayer( layer = PaddleLayer(
layer_id, kernel, inputs, outputs, scope_name=scope_name, **kwargs) layer_id, kernel, inputs, outputs, scope_name=scope_name, **kwargs)
self.layers[layer_id] = layer self.layers[layer_id] = layer
if layer.kernel in ["prim.list_unpack" , "prim.tuple_unpack"]: if layer.kernel in ["prim.list_unpack", "prim.tuple_unpack"]:
self.has_unpack = True self.has_unpack = True
return layer_id return layer_id
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册