Skip to content

Commit

Permalink
fc passes disabled when iterations=0 in gru test
Browse files Browse the repository at this point in the history
  • Loading branch information
paulinagacek committed Sep 22, 2022
1 parent a2c6059 commit 741b1e9
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,9 @@ TEST(Analyzer_lexical_test, Analyzer_lexical_analysis) {
analysis_cfg.mkldnn_quantizer_config()->SetWarmupBatchSize(
FLAGS_batch_size);
}
if (FLAGS_iterations == 0) {
analysis_cfg.DisableMkldnnFcPasses();
}
std::vector<double> acc_analysis(3);
acc_analysis = Lexical_Test(input_slots_all, &outputs, &analysis_cfg, true);
for (size_t i = 0; i < acc_analysis.size(); i++) {
Expand Down

0 comments on commit 741b1e9

Please sign in to comment.