Skip to content

Commit ea3a185

Browse files
Remove extension code
1 parent 155d849 commit ea3a185

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/plugins/intel_gpu/src/plugin/ops/convolution.cpp

-8
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,6 @@ static void CreateConvolutionOp(ProgramBuilder& p, const std::shared_ptr<ov::int
4444
auto pads_end = op->get_pads_end();
4545
auto auto_pad = op->get_auto_pad();
4646

47-
if (!op->is_dynamic() && outDims.size() >= 4) {
48-
// Extend 1d vectors to 2d as 1d can't be handled properly by the graph optimizer for now
49-
strides.resize(std::max<size_t>(2, strides.size()), 1);
50-
dilations.resize(std::max<size_t>(2, strides.size()), 1);
51-
pads_begin.resize(std::max<size_t>(2, pads_begin.size()), 0);
52-
pads_end.resize(std::max<size_t>(2, pads_end.size()), 0);
53-
}
54-
5547
std::shared_ptr<cldnn::convolution> prim = nullptr;
5648

5749
if (op->is_asymmetric()) {

0 commit comments

Comments
 (0)