Fix stride height setting in input_conv test (#16813)
This commit is contained in:
parent
67aa807892
commit
435a79a2a3
@ -79,8 +79,16 @@ void InputConvTest::SetUp() {
|
||||
auto ngPrc = FuncTestUtils::PrecisionUtils::convertIE2nGraphPrc(netPrecision);
|
||||
auto params = ngraph::builder::makeParams(ngPrc, { inputShape });
|
||||
|
||||
auto conv0 = ngraph::builder::makeConvolution(params[0], ngPrc, { kernelShape[0], kernelShape[1] }, { stride, stride }, { 0, 0 },
|
||||
{ 0, 0 }, { 1, 1 }, ngraph::op::PadType::VALID, outputChannels, true,
|
||||
auto conv0 = ngraph::builder::makeConvolution(params[0],
|
||||
ngPrc,
|
||||
{kernelShape[0], kernelShape[1]},
|
||||
{kernelShape[0] > 1 ? stride : 1, stride},
|
||||
{0, 0},
|
||||
{0, 0},
|
||||
{1, 1},
|
||||
ngraph::op::PadType::VALID,
|
||||
outputChannels,
|
||||
true,
|
||||
generateWeights(outputChannels, kernelShape[1]));
|
||||
|
||||
if (addReshape) {
|
||||
|
Loading…
Reference in New Issue
Block a user