Skip to content

Commit 6b854f3

Browse files
committed
fix the save_in_nodes bug.
1 parent 183bace commit 6b854f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/paddle/fluid/contrib/slim/quantization/quantization_strategy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def on_epoch_end(self, context):
158158
]
159159

160160
if self.save_in_nodes == None:
161-
in_vars = list(context.eval_graph.out_nodes.values())
161+
in_vars = list(context.eval_graph.in_nodes.values())
162162
else:
163163
in_vars = self.save_in_nodes
164164

0 commit comments

Comments
 (0)