未验证 提交 ad9b828c 编写于 作者: C ceci3 提交者: GitHub

fix (#1549)

上级 12b170c3
...@@ -769,7 +769,7 @@ class AutoCompression: ...@@ -769,7 +769,7 @@ class AutoCompression:
train_program_info, test_program_info = self._prepare_program( train_program_info, test_program_info = self._prepare_program(
inference_program, feed_target_names, fetch_targets, patterns, inference_program, feed_target_names, fetch_targets, patterns,
strategy, config, train_config) strategy, config, train_config)
if 'unstructure' in self._strategy: if 'unstructure' in strategy:
test_program_info.program._program = remove_unused_var_nodes( test_program_info.program._program = remove_unused_var_nodes(
test_program_info.program._program) test_program_info.program._program)
test_program_info = self._start_train( test_program_info = self._start_train(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册