[GPU] Not to convert crop to implicit on dynamic (#18148)

Signed-off-by: Min, Byungil <byungil.min@intel.com>
This commit is contained in:
Min, Byungil 2023-06-21 16:55:55 +09:00 committed by GitHub
parent bcd2463813
commit 96a0c539bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -413,7 +413,7 @@ void prepare_buffer_fusing::run(program& p) {
return true;
}
if (is_dynamic || node->is_output() || node->has_fused_primitives()) {
if (is_dynamic || node->is_output() || node->has_fused_primitives() || node->is_in_shape_of_subgraph()) {
return false;
}
return true;