Apply Eltwise stype input shape to cpuFuncTests
This commit is contained in:
parent
0802282972
commit
20ea316b0d
@ -43,8 +43,8 @@ INSTANTIATE_TEST_SUITE_P(
|
||||
::testing::Values(InferenceEngine::Precision::UNSPECIFIED),
|
||||
::testing::Values(InferenceEngine::Layout::ANY),
|
||||
::testing::Values(InferenceEngine::Layout::ANY),
|
||||
::testing::Values(std::vector<std::pair<size_t, size_t>>(NULL_RANGE)),
|
||||
::testing::Values(std::vector<std::vector<size_t>>({{1, 3, 30}})),
|
||||
::testing::Values(std::vector<std::vector<std::pair<size_t, size_t>>>(NULL_RANGE)),
|
||||
::testing::Values(std::vector<std::vector<std::vector<size_t>>>({{{1, 3, 30}}})),
|
||||
::testing::Values(CommonTestUtils::DEVICE_CPU)),
|
||||
ConvolutionLayerTest::getTestCaseName);
|
||||
|
||||
@ -56,8 +56,8 @@ INSTANTIATE_TEST_SUITE_P(
|
||||
::testing::Values(InferenceEngine::Precision::UNSPECIFIED),
|
||||
::testing::Values(InferenceEngine::Layout::ANY),
|
||||
::testing::Values(InferenceEngine::Layout::ANY),
|
||||
::testing::Values(std::vector<std::pair<size_t, size_t>>(NULL_RANGE)),
|
||||
::testing::Values(std::vector<std::vector<size_t>>({{1, 3, 30}})),
|
||||
::testing::Values(std::vector<std::vector<std::pair<size_t, size_t>>>(NULL_RANGE)),
|
||||
::testing::Values(std::vector<std::vector<std::vector<size_t>>>({{{1, 3, 30}}})),
|
||||
::testing::Values(CommonTestUtils::DEVICE_CPU)),
|
||||
ConvolutionLayerTest::getTestCaseName);
|
||||
|
||||
@ -89,8 +89,8 @@ INSTANTIATE_TEST_SUITE_P(
|
||||
::testing::Values(InferenceEngine::Precision::UNSPECIFIED),
|
||||
::testing::Values(InferenceEngine::Layout::ANY),
|
||||
::testing::Values(InferenceEngine::Layout::ANY),
|
||||
::testing::Values(std::vector<std::pair<size_t, size_t>>(NULL_RANGE)),
|
||||
::testing::Values(std::vector<std::vector<size_t>>({{1, 3, 30, 30}})),
|
||||
::testing::Values(std::vector<std::vector<std::pair<size_t, size_t>>>(NULL_RANGE)),
|
||||
::testing::Values(std::vector<std::vector<std::vector<size_t>>>({{{1, 3, 30, 30}}})),
|
||||
::testing::Values(CommonTestUtils::DEVICE_CPU)),
|
||||
ConvolutionLayerTest::getTestCaseName);
|
||||
|
||||
@ -102,8 +102,8 @@ INSTANTIATE_TEST_SUITE_P(
|
||||
::testing::Values(InferenceEngine::Precision::UNSPECIFIED),
|
||||
::testing::Values(InferenceEngine::Layout::ANY),
|
||||
::testing::Values(InferenceEngine::Layout::ANY),
|
||||
::testing::Values(std::vector<std::pair<size_t, size_t>>(NULL_RANGE)),
|
||||
::testing::Values(std::vector<std::vector<size_t>>({{1, 3, 30, 30}})),
|
||||
::testing::Values(std::vector<std::vector<std::pair<size_t, size_t>>>(NULL_RANGE)),
|
||||
::testing::Values(std::vector<std::vector<std::vector<size_t>>>({{{1, 3, 30, 30}}})),
|
||||
::testing::Values(CommonTestUtils::DEVICE_CPU)),
|
||||
ConvolutionLayerTest::getTestCaseName);
|
||||
|
||||
@ -131,8 +131,9 @@ namespace specificWeightLayout {
|
||||
::testing::Values(InferenceEngine::Precision::UNSPECIFIED),
|
||||
::testing::Values(InferenceEngine::Layout::ANY),
|
||||
::testing::Values(InferenceEngine::Layout::ANY),
|
||||
::testing::Values(std::vector<std::pair<size_t, size_t>>(NULL_RANGE)),
|
||||
::testing::Values(std::vector<std::vector<size_t>>({{1, 1, 50, 75}})),
|
||||
::testing::Values(std::vector<std::vector<std::pair<size_t, size_t>>>(NULL_RANGE)),
|
||||
::testing::Values(std::vector<std::vector<std::vector<size_t>>>(
|
||||
{{{1, 1, 50, 75}}})),
|
||||
::testing::Values(CommonTestUtils::DEVICE_CPU)),
|
||||
ConvolutionLayerTest::getTestCaseName);
|
||||
} // namespace specificWeightLayout
|
||||
@ -164,8 +165,8 @@ INSTANTIATE_TEST_SUITE_P(
|
||||
::testing::Values(InferenceEngine::Precision::UNSPECIFIED),
|
||||
::testing::Values(InferenceEngine::Layout::ANY),
|
||||
::testing::Values(InferenceEngine::Layout::ANY),
|
||||
::testing::Values(std::vector<std::pair<size_t, size_t>>(NULL_RANGE)),
|
||||
::testing::Values(std::vector<std::vector<size_t>>({{1, 3, 10, 10, 10}})),
|
||||
::testing::Values(std::vector<std::vector<std::pair<size_t, size_t>>>(NULL_RANGE)),
|
||||
::testing::Values(std::vector<std::vector<std::vector<size_t>>>({{{1, 3, 10, 10, 10}}})),
|
||||
::testing::Values(CommonTestUtils::DEVICE_CPU)),
|
||||
ConvolutionLayerTest::getTestCaseName);
|
||||
|
||||
@ -177,8 +178,8 @@ INSTANTIATE_TEST_SUITE_P(
|
||||
::testing::Values(InferenceEngine::Precision::UNSPECIFIED),
|
||||
::testing::Values(InferenceEngine::Layout::ANY),
|
||||
::testing::Values(InferenceEngine::Layout::ANY),
|
||||
::testing::Values(std::vector<std::pair<size_t, size_t>>(NULL_RANGE)),
|
||||
::testing::Values(std::vector<std::vector<size_t>>({{1, 3, 10, 10, 10}})),
|
||||
::testing::Values(std::vector<std::vector<std::pair<size_t, size_t>>>(NULL_RANGE)),
|
||||
::testing::Values(std::vector<std::vector<std::vector<size_t>>>({{{1, 3, 10, 10, 10}}})),
|
||||
::testing::Values(CommonTestUtils::DEVICE_CPU)),
|
||||
ConvolutionLayerTest::getTestCaseName);
|
||||
|
||||
|
@ -19,13 +19,13 @@ const std::vector<InferenceEngine::Layout> inputLayouts2D = {
|
||||
InferenceEngine::Layout::NC,
|
||||
};
|
||||
|
||||
const std::vector<std::vector<std::pair<size_t, size_t>>> inputStaticShape2D = {
|
||||
const std::vector<std::vector<std::vector<std::pair<size_t, size_t>>>> inputStaticShape2D = {
|
||||
{NULL_RANGE}
|
||||
};
|
||||
const std::vector<std::vector<InferenceEngine::SizeVector>> inputShapes2D = {
|
||||
{InferenceEngine::SizeVector {1, 100}},
|
||||
{InferenceEngine::SizeVector {100, 1}},
|
||||
{InferenceEngine::SizeVector {10, 10}},
|
||||
const std::vector<std::vector<std::vector<InferenceEngine::SizeVector>>> inputShapes2D = {
|
||||
{{InferenceEngine::SizeVector{1, 100}}},
|
||||
{{InferenceEngine::SizeVector{100, 1}}},
|
||||
{{InferenceEngine::SizeVector{10, 10}}},
|
||||
};
|
||||
|
||||
const std::vector<size_t> axis2D = {
|
||||
@ -52,14 +52,14 @@ INSTANTIATE_TEST_SUITE_P(
|
||||
SoftMaxLayerTest::getTestCaseName
|
||||
);
|
||||
|
||||
const std::vector<std::vector<std::pair<size_t, size_t>>> inputStaticShape4D = {
|
||||
const std::vector<std::vector<std::vector<std::pair<size_t, size_t>>>> inputStaticShape4D = {
|
||||
{NULL_RANGE}
|
||||
};
|
||||
|
||||
const std::vector<std::vector<InferenceEngine::SizeVector>> inputShapes4D = {
|
||||
{InferenceEngine::SizeVector {1, 100, 1, 1}},
|
||||
{InferenceEngine::SizeVector {1, 3, 4, 3}},
|
||||
{InferenceEngine::SizeVector {2, 3, 4, 5}},
|
||||
const std::vector<std::vector<std::vector<InferenceEngine::SizeVector>>> inputShapes4D = {
|
||||
{{InferenceEngine::SizeVector{1, 100, 1, 1}}},
|
||||
{{InferenceEngine::SizeVector{1, 3, 4, 3}}},
|
||||
{{InferenceEngine::SizeVector{2, 3, 4, 5}}},
|
||||
};
|
||||
|
||||
const std::vector<size_t> axis4D = {0, 1, 2, 3};
|
||||
|
@ -93,8 +93,8 @@ protected:
|
||||
isBias = (postOpMgrPtr->getFusedOpsNames() == "Add(PerChannel)" && selectedType != "jit_avx512_winograd");
|
||||
|
||||
convSpecificParams convParams;
|
||||
std::vector<std::pair<size_t, size_t>> inputDynamicShape;
|
||||
std::vector<std::vector<size_t>> inputShape;
|
||||
std::vector<std::vector<std::pair<size_t, size_t>>> inputDynamicShape;
|
||||
std::vector<std::vector<std::vector<size_t>>> inputShape;
|
||||
auto netPrecision = InferenceEngine::Precision::UNSPECIFIED;
|
||||
std::tie(convParams, netPrecision, inPrc, outPrc, inLayout, outLayout, inputDynamicShape, inputShape, targetDevice) = basicParamsSet;
|
||||
|
||||
@ -113,7 +113,7 @@ protected:
|
||||
std::tie(kernel, stride, padBegin, padEnd, dilation, convOutChannels, padType) = convParams;
|
||||
auto ngPrc = FuncTestUtils::PrecisionUtils::convertIE2nGraphPrc(netPrecision);
|
||||
|
||||
auto inputParams = ngraph::builder::makeParams(ngraph::element::f32, { inputShape });
|
||||
auto inputParams = ngraph::builder::makeParams(ngraph::element::f32, { inputShape[0].front() });
|
||||
auto paramOuts = ngraph::helpers::convert2OutputVector(ngraph::helpers::castOps2Nodes<ngraph::op::Parameter>(inputParams));
|
||||
|
||||
auto convolutionNode = ngraph::builder::makeConvolution(paramOuts.front(), ngPrc, kernel, stride, padBegin,
|
||||
@ -192,8 +192,10 @@ const std::vector<SizeVector> strides2d = { {1, 1}, {2, 2} };
|
||||
const std::vector<std::vector<ptrdiff_t>> padBegins2d = { {0, 0}, {1, 1} };
|
||||
const std::vector<std::vector<ptrdiff_t>> padEnds2d = { {0, 0} };
|
||||
const std::vector<SizeVector> dilations2d = { {1, 1}, {2, 2} };
|
||||
const std::vector<std::vector<SizeVector>> inputShapes2d = { { {1, 64, 7, 7}, {1, 67, 7, 7} } };
|
||||
const std::vector<std::vector<SizeVector>> inputShapesPlain2Blocked2d = { { {1, 1, 7, 7}, {1, 2, 7, 7}, {1, 3, 7, 7} } };
|
||||
const std::vector<std::vector<std::vector<SizeVector>>> inputShapes2d = { { { {1, 64, 7, 7}, {1, 67, 7, 7} } } };
|
||||
const std::vector<std::vector<std::vector<SizeVector>>> inputShapesPlain2Blocked2d = {
|
||||
{ { {1, 1, 7, 7}, {1, 2, 7, 7}, {1, 3, 7, 7} } }
|
||||
};
|
||||
|
||||
/* ============= Convolution params (3D) ============= */
|
||||
const std::vector<SizeVector> kernels3d = { {3, 3, 3}, {1, 1, 1} };
|
||||
@ -201,8 +203,10 @@ const std::vector<SizeVector> strides3d = { {1, 1, 1}, {2, 2, 2} };
|
||||
const std::vector<std::vector<ptrdiff_t>> padBegins3d = { {0, 0, 0}, {1, 1, 1} };
|
||||
const std::vector<std::vector<ptrdiff_t>> padEnds3d = { {0, 0, 0} };
|
||||
const std::vector<SizeVector> dilations3d = { {1, 1, 1}, {2, 2, 2} };
|
||||
const std::vector<std::vector<SizeVector>> inputShapes3d = { { {1, 64, 7, 7, 7}, {1, 67, 7, 7, 7} } };
|
||||
const std::vector<std::vector<SizeVector>> inputShapesPlain2Blocked3d = { { {1, 1, 7, 7, 7}, {1, 2, 7, 7, 7}, {1, 3, 7, 7, 7} } };
|
||||
const std::vector<std::vector<std::vector<SizeVector>>> inputShapes3d = { { { {1, 64, 7, 7, 7}, {1, 67, 7, 7, 7} } } };
|
||||
const std::vector<std::vector<std::vector<SizeVector>>> inputShapesPlain2Blocked3d = {
|
||||
{ { {1, 1, 7, 7, 7}, {1, 2, 7, 7, 7}, {1, 3, 7, 7, 7} } }
|
||||
};
|
||||
/* ============= */
|
||||
|
||||
/* INSTANCES */
|
||||
@ -231,8 +235,8 @@ INSTANTIATE_TEST_SUITE_P(smoke_Conv_2D_GEMM_FP32, ConvolutionLayerCPUTest,
|
||||
::testing::Values(Precision::UNSPECIFIED),
|
||||
::testing::Values(Layout::ANY),
|
||||
::testing::Values(Layout::ANY),
|
||||
::testing::Values(std::vector<std::pair<size_t, size_t>>(NULL_RANGE)),
|
||||
::testing::Values(std::vector<std::vector<size_t>>({{ 2, 12, 7, 7 }})),
|
||||
::testing::Values(std::vector<std::vector<std::pair<size_t, size_t>>>(NULL_RANGE)),
|
||||
::testing::Values(std::vector<std::vector<std::vector<size_t>>>({{{2, 12, 7, 7}}})),
|
||||
::testing::Values(CommonTestUtils::DEVICE_CPU)),
|
||||
::testing::ValuesIn(filterCPUInfoForDevice(CPUParams_GEMM_2D)),
|
||||
::testing::ValuesIn(fusingParamsSet),
|
||||
@ -248,8 +252,8 @@ INSTANTIATE_TEST_SUITE_P(smoke_Conv_2D_GEMM_BF16, ConvolutionLayerCPUTest,
|
||||
::testing::Values(Precision::BF16),
|
||||
::testing::Values(Layout::ANY),
|
||||
::testing::Values(Layout::ANY),
|
||||
::testing::Values(std::vector<std::pair<size_t, size_t>>(NULL_RANGE)),
|
||||
::testing::Values(std::vector<std::vector<size_t>>({{ 2, 12, 7, 7 }})),
|
||||
::testing::Values(std::vector<std::vector<std::pair<size_t, size_t>>>(NULL_RANGE)),
|
||||
::testing::Values(std::vector<std::vector<std::vector<size_t>>>({{{2, 12, 7, 7}}})),
|
||||
::testing::Values(CommonTestUtils::DEVICE_CPU)),
|
||||
::testing::ValuesIn(filterCPUInfoForDevice(CPUParams_GEMM_2D)),
|
||||
::testing::ValuesIn(fusingParamsSetBF16),
|
||||
@ -265,8 +269,8 @@ INSTANTIATE_TEST_SUITE_P(smoke_Conv_2D_GEMM_I8, ConvolutionLayerCPUTest,
|
||||
::testing::Values(Precision::UNSPECIFIED),
|
||||
::testing::Values(Layout::ANY),
|
||||
::testing::Values(Layout::ANY),
|
||||
::testing::Values(std::vector<std::pair<size_t, size_t>>(NULL_RANGE)),
|
||||
::testing::Values(std::vector<std::vector<size_t>>({{ 2, 12, 7, 7 }})),
|
||||
::testing::Values(std::vector<std::vector<std::pair<size_t, size_t>>>(NULL_RANGE)),
|
||||
::testing::Values(std::vector<std::vector<std::vector<size_t>>>({{{2, 12, 7, 7}}})),
|
||||
::testing::Values(CommonTestUtils::DEVICE_CPU)),
|
||||
::testing::ValuesIn(filterCPUInfoForDevice(CPUParams_GEMM_2D)),
|
||||
::testing::Values(fusingSum),
|
||||
@ -298,8 +302,8 @@ INSTANTIATE_TEST_SUITE_P(smoke_Conv_3D_GEMM_FP32, ConvolutionLayerCPUTest,
|
||||
::testing::Values(Precision::UNSPECIFIED),
|
||||
::testing::Values(Layout::ANY),
|
||||
::testing::Values(Layout::ANY),
|
||||
::testing::Values(std::vector<std::pair<size_t, size_t>>(NULL_RANGE)),
|
||||
::testing::Values(std::vector<std::vector<size_t>>({{ 2, 12, 7, 7, 7 }})),
|
||||
::testing::Values(std::vector<std::vector<std::pair<size_t, size_t>>>(NULL_RANGE)),
|
||||
::testing::Values(std::vector<std::vector<std::vector<size_t>>>({{{2, 12, 7, 7, 7}}})),
|
||||
::testing::Values(CommonTestUtils::DEVICE_CPU)),
|
||||
::testing::ValuesIn(filterCPUInfoForDevice(CPUParams_GEMM_3D)),
|
||||
::testing::ValuesIn(fusingParamsSet),
|
||||
@ -315,8 +319,8 @@ INSTANTIATE_TEST_SUITE_P(smoke_Conv_3D_GEMM_BF16, ConvolutionLayerCPUTest,
|
||||
::testing::Values(Precision::BF16),
|
||||
::testing::Values(Layout::ANY),
|
||||
::testing::Values(Layout::ANY),
|
||||
::testing::Values(std::vector<std::pair<size_t, size_t>>(NULL_RANGE)),
|
||||
::testing::Values(std::vector<std::vector<size_t>>({{ 2, 12, 7, 7, 7 }})),
|
||||
::testing::Values(std::vector<std::vector<std::pair<size_t, size_t>>>(NULL_RANGE)),
|
||||
::testing::Values(std::vector<std::vector<std::vector<size_t>>>({{{2, 12, 7, 7, 7}}})),
|
||||
::testing::Values(CommonTestUtils::DEVICE_CPU)),
|
||||
::testing::ValuesIn(filterCPUInfoForDevice(CPUParams_GEMM_3D)),
|
||||
::testing::ValuesIn(fusingParamsSetBF16),
|
||||
@ -332,8 +336,8 @@ INSTANTIATE_TEST_SUITE_P(smoke_Conv_3D_GEMM_I8, ConvolutionLayerCPUTest,
|
||||
::testing::Values(Precision::UNSPECIFIED),
|
||||
::testing::Values(Layout::ANY),
|
||||
::testing::Values(Layout::ANY),
|
||||
::testing::Values(std::vector<std::pair<size_t, size_t>>(NULL_RANGE)),
|
||||
::testing::Values(std::vector<std::vector<size_t>>({{ 2, 12, 7, 7, 7 }})),
|
||||
::testing::Values(std::vector<std::vector<std::pair<size_t, size_t>>>(NULL_RANGE)),
|
||||
::testing::Values(std::vector<std::vector<std::vector<size_t>>>({{{2, 12, 7, 7, 7}}})),
|
||||
::testing::Values(CommonTestUtils::DEVICE_CPU)),
|
||||
::testing::ValuesIn(filterCPUInfoForDevice(CPUParams_GEMM_3D)),
|
||||
::testing::Values(fusingSum),
|
||||
@ -369,7 +373,7 @@ INSTANTIATE_TEST_SUITE_P(smoke_Conv_2D_FP32, ConvolutionLayerCPUTest,
|
||||
::testing::Values(Precision::UNSPECIFIED),
|
||||
::testing::Values(Layout::ANY),
|
||||
::testing::Values(Layout::ANY),
|
||||
::testing::Values(std::vector<std::pair<size_t, size_t>>(NULL_RANGE)),
|
||||
::testing::Values(std::vector<std::vector<std::pair<size_t, size_t>>>(NULL_RANGE)),
|
||||
::testing::ValuesIn(inputShapes2d),
|
||||
::testing::Values(CommonTestUtils::DEVICE_CPU)),
|
||||
::testing::ValuesIn(filterCPUInfoForDevice(CPUParams_2D)),
|
||||
@ -386,7 +390,7 @@ INSTANTIATE_TEST_SUITE_P(smoke_Conv_2D_BF16, ConvolutionLayerCPUTest,
|
||||
::testing::Values(Precision::BF16),
|
||||
::testing::Values(Layout::ANY),
|
||||
::testing::Values(Layout::ANY),
|
||||
::testing::Values(std::vector<std::pair<size_t, size_t>>(NULL_RANGE)),
|
||||
::testing::Values(std::vector<std::vector<std::pair<size_t, size_t>>>(NULL_RANGE)),
|
||||
::testing::ValuesIn(inputShapes2d),
|
||||
::testing::Values(CommonTestUtils::DEVICE_CPU)),
|
||||
::testing::ValuesIn(filterCPUInfoForDevice({conv_avx512_2D, conv_avx512_2D_nspc})),
|
||||
@ -403,7 +407,7 @@ INSTANTIATE_TEST_SUITE_P(smoke_Conv_2D_I8, ConvolutionLayerCPUTest,
|
||||
::testing::Values(Precision::UNSPECIFIED),
|
||||
::testing::Values(Layout::ANY),
|
||||
::testing::Values(Layout::ANY),
|
||||
::testing::Values(std::vector<std::pair<size_t, size_t>>(NULL_RANGE)),
|
||||
::testing::Values(std::vector<std::vector<std::pair<size_t, size_t>>>(NULL_RANGE)),
|
||||
::testing::ValuesIn(inputShapes2d),
|
||||
::testing::Values(CommonTestUtils::DEVICE_CPU)),
|
||||
::testing::ValuesIn(filterCPUInfoForDevice(CPUParams_2D)),
|
||||
@ -426,7 +430,7 @@ INSTANTIATE_TEST_SUITE_P(smoke_Conv_PlainToBlocked_2D_FP32, ConvolutionLayerCPUT
|
||||
::testing::Values(Precision::UNSPECIFIED),
|
||||
::testing::Values(Layout::ANY),
|
||||
::testing::Values(Layout::ANY),
|
||||
::testing::Values(std::vector<std::pair<size_t, size_t>>(NULL_RANGE)),
|
||||
::testing::Values(std::vector<std::vector<std::pair<size_t, size_t>>>(NULL_RANGE)),
|
||||
::testing::ValuesIn(inputShapesPlain2Blocked2d),
|
||||
::testing::Values(CommonTestUtils::DEVICE_CPU)),
|
||||
::testing::ValuesIn(filterCPUInfoForDevice(CPUParams_2D_plain_to_blocked)),
|
||||
@ -443,7 +447,7 @@ INSTANTIATE_TEST_SUITE_P(smoke_Conv_PlainToBlocked_2D_BF16, ConvolutionLayerCPUT
|
||||
::testing::Values(Precision::BF16, Precision::FP32),
|
||||
::testing::Values(Layout::ANY),
|
||||
::testing::Values(Layout::ANY),
|
||||
::testing::Values(std::vector<std::pair<size_t, size_t>>(NULL_RANGE)),
|
||||
::testing::Values(std::vector<std::vector<std::pair<size_t, size_t>>>(NULL_RANGE)),
|
||||
::testing::ValuesIn(inputShapesPlain2Blocked2d),
|
||||
::testing::Values(CommonTestUtils::DEVICE_CPU)),
|
||||
::testing::ValuesIn(filterCPUInfoForDevice({conv_avx512_plain_to_blocked_2D})),
|
||||
@ -479,7 +483,7 @@ INSTANTIATE_TEST_SUITE_P(smoke_Conv_3D_FP32, ConvolutionLayerCPUTest,
|
||||
::testing::Values(Precision::UNSPECIFIED),
|
||||
::testing::Values(Layout::ANY),
|
||||
::testing::Values(Layout::ANY),
|
||||
::testing::Values(std::vector<std::pair<size_t, size_t>>(NULL_RANGE)),
|
||||
::testing::Values(std::vector<std::vector<std::pair<size_t, size_t>>>(NULL_RANGE)),
|
||||
::testing::ValuesIn(inputShapes3d),
|
||||
::testing::Values(CommonTestUtils::DEVICE_CPU)),
|
||||
::testing::ValuesIn(filterCPUInfoForDevice(CPUParams_3D)),
|
||||
@ -496,7 +500,7 @@ INSTANTIATE_TEST_SUITE_P(smoke_Conv_3D_BF16, ConvolutionLayerCPUTest,
|
||||
::testing::Values(Precision::BF16),
|
||||
::testing::Values(Layout::ANY),
|
||||
::testing::Values(Layout::ANY),
|
||||
::testing::Values(std::vector<std::pair<size_t, size_t>>(NULL_RANGE)),
|
||||
::testing::Values(std::vector<std::vector<std::pair<size_t, size_t>>>(NULL_RANGE)),
|
||||
::testing::ValuesIn(inputShapes3d),
|
||||
::testing::Values(CommonTestUtils::DEVICE_CPU)),
|
||||
::testing::ValuesIn(filterCPUInfoForDevice({conv_avx512_3D, conv_avx512_3D_nspc})),
|
||||
@ -513,7 +517,7 @@ INSTANTIATE_TEST_SUITE_P(smoke_Conv_3D_I8, ConvolutionLayerCPUTest,
|
||||
::testing::Values(Precision::UNSPECIFIED),
|
||||
::testing::Values(Layout::ANY),
|
||||
::testing::Values(Layout::ANY),
|
||||
::testing::Values(std::vector<std::pair<size_t, size_t>>(NULL_RANGE)),
|
||||
::testing::Values(std::vector<std::vector<std::pair<size_t, size_t>>>(NULL_RANGE)),
|
||||
::testing::ValuesIn(inputShapes3d),
|
||||
::testing::Values(CommonTestUtils::DEVICE_CPU)),
|
||||
::testing::ValuesIn(filterCPUInfoForDevice(CPUParams_3D)),
|
||||
@ -535,7 +539,7 @@ INSTANTIATE_TEST_SUITE_P(smoke_Conv_PlainToBlocked_3D_FP32, ConvolutionLayerCPUT
|
||||
::testing::Values(Precision::UNSPECIFIED),
|
||||
::testing::Values(Layout::ANY),
|
||||
::testing::Values(Layout::ANY),
|
||||
::testing::Values(std::vector<std::pair<size_t, size_t>>(NULL_RANGE)),
|
||||
::testing::Values(std::vector<std::vector<std::pair<size_t, size_t>>>(NULL_RANGE)),
|
||||
::testing::ValuesIn(inputShapesPlain2Blocked3d),
|
||||
::testing::Values(CommonTestUtils::DEVICE_CPU)),
|
||||
::testing::ValuesIn(filterCPUInfoForDevice(CPUParams_3D_plain_to_blocked)),
|
||||
@ -552,7 +556,7 @@ INSTANTIATE_TEST_SUITE_P(smoke_Conv_PlainToBlocked_3D_BF16, ConvolutionLayerCPUT
|
||||
::testing::Values(Precision::BF16, Precision::FP32),
|
||||
::testing::Values(Layout::ANY),
|
||||
::testing::Values(Layout::ANY),
|
||||
::testing::Values(std::vector<std::pair<size_t, size_t>>(NULL_RANGE)),
|
||||
::testing::Values(std::vector<std::vector<std::pair<size_t, size_t>>>(NULL_RANGE)),
|
||||
::testing::ValuesIn(inputShapesPlain2Blocked3d),
|
||||
::testing::Values(CommonTestUtils::DEVICE_CPU)),
|
||||
::testing::ValuesIn(filterCPUInfoForDevice({conv_avx512_plain_to_blocked_3D})),
|
||||
@ -590,7 +594,7 @@ INSTANTIATE_TEST_SUITE_P(smoke_Conv_2D_1x1_FP32, ConvolutionLayerCPUTest,
|
||||
::testing::Values(Precision::UNSPECIFIED),
|
||||
::testing::Values(Layout::ANY),
|
||||
::testing::Values(Layout::ANY),
|
||||
::testing::Values(std::vector<std::pair<size_t, size_t>>(NULL_RANGE)),
|
||||
::testing::Values(std::vector<std::vector<std::pair<size_t, size_t>>>(NULL_RANGE)),
|
||||
::testing::ValuesIn(inputShapes2d),
|
||||
::testing::Values(CommonTestUtils::DEVICE_CPU)),
|
||||
::testing::ValuesIn(filterCPUInfoForDevice(CPUParams_1x1_2D)),
|
||||
@ -607,7 +611,7 @@ INSTANTIATE_TEST_SUITE_P(smoke_Conv_2D_1x1_BF16, ConvolutionLayerCPUTest,
|
||||
::testing::Values(Precision::BF16),
|
||||
::testing::Values(Layout::ANY),
|
||||
::testing::Values(Layout::ANY),
|
||||
::testing::Values(std::vector<std::pair<size_t, size_t>>(NULL_RANGE)),
|
||||
::testing::Values(std::vector<std::vector<std::pair<size_t, size_t>>>(NULL_RANGE)),
|
||||
::testing::ValuesIn(inputShapes2d),
|
||||
::testing::Values(CommonTestUtils::DEVICE_CPU)),
|
||||
::testing::ValuesIn(filterCPUInfoForDevice({conv_avx512_2D_1x1, conv_avx512_2D_1x1_nspc})),
|
||||
@ -624,7 +628,7 @@ INSTANTIATE_TEST_SUITE_P(smoke_Conv_2D_1x1_I8, ConvolutionLayerCPUTest,
|
||||
::testing::Values(Precision::UNSPECIFIED),
|
||||
::testing::Values(Layout::ANY),
|
||||
::testing::Values(Layout::ANY),
|
||||
::testing::Values(std::vector<std::pair<size_t, size_t>>(NULL_RANGE)),
|
||||
::testing::Values(std::vector<std::vector<std::pair<size_t, size_t>>>(NULL_RANGE)),
|
||||
::testing::ValuesIn(inputShapes2d),
|
||||
::testing::Values(CommonTestUtils::DEVICE_CPU)),
|
||||
::testing::ValuesIn(filterCPUInfoForDevice(CPUParams_1x1_2D)),
|
||||
@ -665,8 +669,8 @@ INSTANTIATE_TEST_SUITE_P(smoke_Conv_1D, ConvolutionLayerCPUTest,
|
||||
::testing::Values(Precision::UNSPECIFIED),
|
||||
::testing::Values(Layout::ANY),
|
||||
::testing::Values(Layout::ANY),
|
||||
::testing::Values(std::vector<std::pair<size_t, size_t>>(NULL_RANGE)),
|
||||
::testing::Values(std::vector<std::vector<size_t>>({{ 2, 64, 7 }})),
|
||||
::testing::Values(std::vector<std::vector<std::pair<size_t, size_t>>>(NULL_RANGE)),
|
||||
::testing::Values(std::vector<std::vector<std::vector<size_t>>>({{{2, 64, 7}}})),
|
||||
::testing::Values(CommonTestUtils::DEVICE_CPU)),
|
||||
::testing::ValuesIn(filterCPUInfoForDevice(CPUParams_1D)),
|
||||
::testing::Values(fusingAddPerChannel),
|
||||
@ -701,7 +705,7 @@ INSTANTIATE_TEST_SUITE_P(smoke_Conv_Jit_Planar_2D_FP32, ConvolutionLayerCPUTest,
|
||||
::testing::Values(Precision::UNSPECIFIED),
|
||||
::testing::Values(Layout::ANY),
|
||||
::testing::Values(Layout::ANY),
|
||||
::testing::Values(std::vector<std::pair<size_t, size_t>>(NULL_RANGE)),
|
||||
::testing::Values(std::vector<std::vector<std::pair<size_t, size_t>>>(NULL_RANGE)),
|
||||
::testing::ValuesIn(inputShapes2d),
|
||||
::testing::Values(CommonTestUtils::DEVICE_CPU)),
|
||||
::testing::ValuesIn(filterCPUInfoForDevice(CPUParams_Jit_Planar_2D)),
|
||||
@ -735,7 +739,7 @@ INSTANTIATE_TEST_SUITE_P(smoke_Conv_Jit_Planar_3D_FP32, ConvolutionLayerCPUTest,
|
||||
::testing::Values(Precision::UNSPECIFIED),
|
||||
::testing::Values(Layout::ANY),
|
||||
::testing::Values(Layout::ANY),
|
||||
::testing::Values(std::vector<std::pair<size_t, size_t>>(NULL_RANGE)),
|
||||
::testing::Values(std::vector<std::vector<std::pair<size_t, size_t>>>(NULL_RANGE)),
|
||||
::testing::ValuesIn(inputShapes3d),
|
||||
::testing::Values(CommonTestUtils::DEVICE_CPU)),
|
||||
::testing::ValuesIn(filterCPUInfoForDevice(CPUParams_Jit_Planar_3D)),
|
||||
@ -785,8 +789,8 @@ INSTANTIATE_TEST_SUITE_P(smoke_Conv_winograd, ConvolutionLayerCPUTest,
|
||||
::testing::Values(Precision::UNSPECIFIED),
|
||||
::testing::Values(Layout::ANY),
|
||||
::testing::Values(Layout::ANY),
|
||||
::testing::Values(std::vector<std::pair<size_t, size_t>>(NULL_RANGE)),
|
||||
::testing::Values(std::vector<std::vector<size_t>>({{ 1, 16, 10, 10 }})),
|
||||
::testing::Values(std::vector<std::vector<std::pair<size_t, size_t>>>(NULL_RANGE)),
|
||||
::testing::Values(std::vector<std::vector<std::vector<size_t>>>({{{1, 16, 10, 10}}})),
|
||||
::testing::Values(CommonTestUtils::DEVICE_CPU)),
|
||||
::testing::ValuesIn(filterCPUInfoForDevice(std::vector<CPUSpecificParams>{conv_winograd})),
|
||||
::testing::ValuesIn(fusingParamsSet),
|
||||
|
@ -47,6 +47,7 @@ namespace ConfigurationTestsDefinitions {
|
||||
max_batch_size = *std::max_element(batch_sizes.begin(), batch_sizes.end());
|
||||
|
||||
function = ngraph::builder::subgraph::makeSingleConv();
|
||||
functionRefs = ngraph::clone_function(*function);
|
||||
}
|
||||
|
||||
void DynamicBatchTest::LoadNetwork() {
|
||||
|
Loading…
Reference in New Issue
Block a user