Skip to content

Commit

Permalink
Reverse kernel shape when autopadding
Browse files Browse the repository at this point in the history
  • Loading branch information
steve-y committed Feb 23, 2024
1 parent c0908b3 commit 2d20138
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/impls/ocl/convolution.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ struct convolution_impl : typed_primitive_impl_ocl<convolution> {
const auto spatial_rank = input_layout.get_spatial_rank();

ov::PartialShape kernel;
for (size_t i = 0; i < spatial_rank; i++) {
for (int32_t i = spatial_rank - 1; i >= 0; i--) {
kernel.emplace_back(weights_layout.spatial(i));
}

Expand Down

0 comments on commit 2d20138

Please sign in to comment.