[IE CLDNN] crop + NMS should not be merged because optimizing out crop will add unexpected padding while NMS cannot handle it properly (#6015)
This commit is contained in:
parent
90a93be071
commit
d3a5c67f3b
@ -17,6 +17,7 @@
|
||||
#include "depth_to_space_inst.h"
|
||||
#include "resample_inst.h"
|
||||
#include "loop_inst.h"
|
||||
#include "non_max_suppression_inst.h"
|
||||
|
||||
#include "pass_manager.h"
|
||||
#include "program_helpers.h"
|
||||
@ -278,7 +279,7 @@ void prepare_buffer_fusing::run(program_impl& p) {
|
||||
for (auto user : node.get_users()) {
|
||||
if (user->is_type<concatenation>() && !user->is_output())
|
||||
return;
|
||||
if (user->is_type<loop>())
|
||||
if (user->is_type<loop>() || user->is_type<non_max_suppression>())
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user