Skip to content

Commit

Permalink
check node output layout(when concat) only for case when it is first …
Browse files Browse the repository at this point in the history
…output of node

Signed-off-by: Michal Miotk <[email protected]>
  • Loading branch information
michal-miotk committed Nov 25, 2024
1 parent 6685209 commit debeb39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/concatenation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ concatenation_inst::typed_primitive_inst(network& network, concatenation_node co
if (dim == node.get_primitive()->axis) {
concat_count += input_mem_size[dim];
} else {
if (i.first->get_outputs_count() > 1) {
if (i.first->get_outputs_count() > 1 && i.first->get_user_index(node) > 0) {
continue;
}
CLDNN_ERROR_NOT_EQUAL(node.id(),
Expand Down

0 comments on commit debeb39

Please sign in to comment.