From fdf12c95379b4075b070545d4a318751a39df5f9 Mon Sep 17 00:00:00 2001 From: Irina Efode Date: Thu, 3 Mar 2022 14:09:55 +0300 Subject: [PATCH] Update main.cpp (#10740) --- .../plugin/conformance/subgraphs_dumper/src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tests/functional/plugin/conformance/subgraphs_dumper/src/main.cpp b/src/tests/functional/plugin/conformance/subgraphs_dumper/src/main.cpp index 2f2702800e6..1a3634dfe53 100644 --- a/src/tests/functional/plugin/conformance/subgraphs_dumper/src/main.cpp +++ b/src/tests/functional/plugin/conformance/subgraphs_dumper/src/main.cpp @@ -93,15 +93,15 @@ int main(int argc, char *argv[]) { std::vector local_cache_dirs = CommonTestUtils::splitStringByDelimiter(FLAGS_local_cache); std::vector dirs = CommonTestUtils::splitStringByDelimiter(FLAGS_input_folders); - auto cachedOps = findModelsInDirs(local_cache_dirs); auto models = findModelsInDirs(dirs); auto cache = SubgraphsDumper::OPCache::make_cache(); if (!FLAGS_local_cache.empty()) { + auto cachedOps = findModelsInDirs(local_cache_dirs); cacheModels(cache, ret_code, cachedOps, FLAGS_extract_body); } cacheModels(cache, ret_code, models, FLAGS_extract_body); cache->serialize_cached_ops(FLAGS_output_folder); return ret_code; -} \ No newline at end of file +}