From b58a9029ac6cc2569251c01fe946125c8622c3bc Mon Sep 17 00:00:00 2001 From: Andrei Molotkov Date: Fri, 4 Jun 2021 12:41:13 +0300 Subject: [PATCH] [IE CLDNN] Fix performance degradation on yolo models (#5876) --- inference-engine/thirdparty/clDNN/src/program.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/inference-engine/thirdparty/clDNN/src/program.cpp b/inference-engine/thirdparty/clDNN/src/program.cpp index c35a36ee5ae1e6..ef988cb12dac55 100644 --- a/inference-engine/thirdparty/clDNN/src/program.cpp +++ b/inference-engine/thirdparty/clDNN/src/program.cpp @@ -1260,12 +1260,7 @@ void program_impl::set_layout_optimizer_attributes(layout_optimizer& lo) { is_quantized_int8_model = true; } - // WA to keep fsv16 layout disabled for some topologies where it leads to regressions. - // For reshape bfy*x is preferred, as fsv16 introduces extra reorders if (prim.type() == cldnn::crop::type_id()) { - if (prim.get_dependencies()[0]->is_type() || prim.get_dependencies()[0]->is_type()) { - can_use_fsv16 = false; - } total_crop_layers++; }