Skip to content

Commit 5f9ca09

Browse files
[GPU] Get output layout before getting padding of reshape
1 parent 530b9b5 commit 5f9ca09

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/plugins/intel_gpu/src/graph/graph_optimizer/prepare_buffer_fusing.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -505,6 +505,7 @@ void prepare_buffer_fusing::run(program& p) {
505505
return;
506506
if (user->is_type<reshape>()) {
507507
auto& reshape_node = user->as<reshape>();
508+
reshape_node.get_output_layout();
508509
if (can_reshape_be_optimized(reshape_node))
509510
return;
510511
}

0 commit comments

Comments
 (0)