[IE CLDNN] Fix performance degradation on yolo models (#5876)
This commit is contained in:
1 parent
d3a5c67f3b
commit
563a095bc1
1 file changed
-5
@@ -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<reshape>() || prim.get_dependencies()[0]->is_type<concatenation>()) {
|
||||
can_use_fsv16 = false;
|
||||
}
|
||||
total_crop_layers++;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user