From ad8c4f37441f42d5551c3dc5dde65687053b8bdd Mon Sep 17 00:00:00 2001 From: Egor Duplensky Date: Wed, 22 Sep 2021 11:03:27 +0300 Subject: [PATCH] [CPU] Remove get_friendly_name WA The ngraph issue has been fixed. WA is not needed anymore. --- inference-engine/src/mkldnn_plugin/mkldnn_exec_network.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/inference-engine/src/mkldnn_plugin/mkldnn_exec_network.cpp b/inference-engine/src/mkldnn_plugin/mkldnn_exec_network.cpp index 69a4bc1721a8b2..ff154f4dee4199 100644 --- a/inference-engine/src/mkldnn_plugin/mkldnn_exec_network.cpp +++ b/inference-engine/src/mkldnn_plugin/mkldnn_exec_network.cpp @@ -91,13 +91,6 @@ MKLDNNExecNetwork::MKLDNNExecNetwork(const InferenceEngine::CNNNetwork &network, _callbackExecutor = _taskExecutor; } - // Workaround for initializing friendly names for all the OPs - // Otherwise they are initialized concurrently without thread safety. - // TODO: Can be removed after 57069 is done. - for (const auto& op : _network.getFunction()->get_ops()) { - op->get_friendly_name(); - } - int streams = std::max(1, _cfg.streamExecutorConfig._streams); std::vector tasks; tasks.resize(streams); _graphs.resize(streams);