提交 6b854f3e 编写于 作者: Z Zhen Wang

fix the save_in_nodes bug.

上级 183baceb
...@@ -158,7 +158,7 @@ class QuantizationStrategy(Strategy): ...@@ -158,7 +158,7 @@ class QuantizationStrategy(Strategy):
] ]
if self.save_in_nodes == None: if self.save_in_nodes == None:
in_vars = list(context.eval_graph.out_nodes.values()) in_vars = list(context.eval_graph.in_nodes.values())
else: else:
in_vars = self.save_in_nodes in_vars = self.save_in_nodes
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册