diff --git a/inference-engine/src/gna_plugin/gna_plugin.cpp b/inference-engine/src/gna_plugin/gna_plugin.cpp index 4f1b36ab5d5283..bc566df0f098cc 100644 --- a/inference-engine/src/gna_plugin/gna_plugin.cpp +++ b/inference-engine/src/gna_plugin/gna_plugin.cpp @@ -750,11 +750,6 @@ void GNAPlugin::LoadNetwork(CNNNetwork & _network) { manager.register_pass(); const auto& pass_config = manager.get_pass_config(); - pass_config->set_callback( - [](const std::shared_ptr &node) -> bool { - // UnrollTI transformation is disabled by default, is turned on by LowLatency transformation - return node->get_rt_info().count("UNROLL_TI") == 0; - }); pass_config->disable(); pass_config->disable(); pass_config->disable(); @@ -798,10 +793,12 @@ void GNAPlugin::LoadNetwork(CNNNetwork & _network) { auto run_passes = [&] (const CNNNetwork& network, bool runBeforeCopy, bool lowPrecision) { auto passes = make_shared(PassManagerSettings{runBeforeCopy, lowPrecision}, network); passes->registerPass(); - passes->registerPass(); - passes->registerPass(); - if (!isNgraphPassesUsed) + if (!isNgraphPassesUsed) { + passes->registerPass(); + passes->registerPass(); passes->registerPass(); + } + passes->registerPass(); // fake quantisation aware passes