Skip to content

Commit ecc3088

Browse files
Fix saving in quantization strategy. (#16474)
test=develop
1 parent 2aa18e2 commit ecc3088

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
@@ -152,7 +152,7 @@ def on_epoch_end(self, context):
152152
]
153153

154154
if self.save_in_nodes == None:
155-
in_vars = list(context.eval_graph.out_nodes.values())
155+
in_vars = list(context.eval_graph.in_nodes.values())
156156
else:
157157
in_vars = self.save_in_nodes
158158

0 commit comments

Comments
 (0)