[LPT] tests rename for nightly (#17425)
This commit is contained in:
1 parent
fe95ed27b1
commit
3525cae612
42 files changed
+47
-47
No files matched your search
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+3
-3
@@ -4,7 +4,7 @@
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include "low_precision_transformations/mat_mul_with_optimized_constant_fake_quantize_transformation.hpp"
|
||||
#include "low_precision_transformations/mat_mul_with_optimized_constant_fq.hpp"
|
||||
#include "common_test_utils/test_constants.hpp"
|
||||
|
||||
using namespace LayerTestsDefinitions;
|
||||
@@ -26,11 +26,11 @@ const std::vector<std::pair<ngraph::PartialShape, ngraph::Shape>> inputShapes =
|
||||
{{ 1, 16 }, { 16, 10 }}
|
||||
};
|
||||
|
||||
INSTANTIATE_TEST_SUITE_P(smoke_LPT, MatMulWithOptimizedConstantFakeQuantizeTransformation,
|
||||
INSTANTIATE_TEST_SUITE_P(smoke_LPT, MatMulWithOptimizedConstantFq,
|
||||
::testing::Combine(
|
||||
::testing::ValuesIn(netPrecisions),
|
||||
::testing::ValuesIn(inputShapes),
|
||||
::testing::Values(CommonTestUtils::DEVICE_CPU),
|
||||
::testing::ValuesIn(params)),
|
||||
MatMulWithOptimizedConstantFakeQuantizeTransformation::getTestCaseName);
|
||||
MatMulWithOptimizedConstantFq::getTestCaseName);
|
||||
} // namespace
|
||||
File renamed without changes.
File renamed without changes.
+3
-3
@@ -4,7 +4,7 @@
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include "low_precision_transformations/output_layers_handling_in_transformations.hpp"
|
||||
#include "low_precision_transformations/output_layers.hpp"
|
||||
#include "common_test_utils/test_constants.hpp"
|
||||
|
||||
using namespace LayerTestsDefinitions;
|
||||
@@ -23,11 +23,11 @@ const std::vector<LayerTransformation::Params> trasformationParamValues = {
|
||||
};
|
||||
|
||||
|
||||
INSTANTIATE_TEST_SUITE_P(smoke_LPT, OutputLayersHandlingInTransformations,
|
||||
INSTANTIATE_TEST_SUITE_P(smoke_LPT, OutputLayers,
|
||||
::testing::Combine(
|
||||
::testing::ValuesIn(netPrecisions),
|
||||
::testing::Values(InferenceEngine::SizeVector({ 1, 3, 16, 16 })),
|
||||
::testing::Values(CommonTestUtils::DEVICE_CPU),
|
||||
::testing::ValuesIn(trasformationParamValues)),
|
||||
OutputLayersHandlingInTransformations::getTestCaseName);
|
||||
OutputLayers::getTestCaseName);
|
||||
} // namespace
|
||||
+3
-3
@@ -4,7 +4,7 @@
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include "low_precision_transformations/output_layers_handling_in_transformations_for_concat.hpp"
|
||||
#include "low_precision_transformations/output_layers_concat.hpp"
|
||||
#include "common_test_utils/test_constants.hpp"
|
||||
|
||||
using namespace LayerTestsDefinitions;
|
||||
@@ -22,11 +22,11 @@ const std::vector<LayerTransformation::Params> trasformationParamValues = {
|
||||
// LayerTestsUtils::LayerTransformationParamsFactory::createParamsU8I8()
|
||||
};
|
||||
|
||||
INSTANTIATE_TEST_SUITE_P(DISABLED_smoke_LPT, OutputLayersHandlingInTransformationsForConcat,
|
||||
INSTANTIATE_TEST_SUITE_P(DISABLED_smoke_LPT, OutputLayersConcat,
|
||||
::testing::Combine(
|
||||
::testing::ValuesIn(netPrecisions),
|
||||
::testing::Values(InferenceEngine::SizeVector({ 1, 3, 16, 16 })),
|
||||
::testing::Values(CommonTestUtils::DEVICE_CPU),
|
||||
::testing::ValuesIn(trasformationParamValues)),
|
||||
OutputLayersHandlingInTransformationsForConcat::getTestCaseName);
|
||||
OutputLayersConcat::getTestCaseName);
|
||||
} // namespace
|
||||
+3
-3
@@ -4,7 +4,7 @@
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include "low_precision_transformations/output_layers_handling_in_transformations_for_concat_multi_channel.hpp"
|
||||
#include "low_precision_transformations/output_layers_concat_multi_channel.hpp"
|
||||
#include "common_test_utils/test_constants.hpp"
|
||||
|
||||
using namespace LayerTestsDefinitions;
|
||||
@@ -23,11 +23,11 @@ const std::vector<LayerTransformation::Params> trasformationParamValues = {
|
||||
};
|
||||
|
||||
// TODO: issue #41231: enable previous LPT version tests
|
||||
INSTANTIATE_TEST_SUITE_P(DISABLED_smoke_LPT, OutputLayersHandlingInTransformationsForConcatMultiChannel,
|
||||
INSTANTIATE_TEST_SUITE_P(DISABLED_smoke_LPT, OutputLayersConcatMultiChannel,
|
||||
::testing::Combine(
|
||||
::testing::ValuesIn(netPrecisions),
|
||||
::testing::Values(InferenceEngine::SizeVector({ 1, 3, 16, 16 })),
|
||||
::testing::Values(CommonTestUtils::DEVICE_CPU),
|
||||
::testing::ValuesIn(trasformationParamValues)),
|
||||
OutputLayersHandlingInTransformationsForConcatMultiChannel::getTestCaseName);
|
||||
OutputLayersConcatMultiChannel::getTestCaseName);
|
||||
} // namespace
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+3
-3
@@ -4,7 +4,7 @@
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include "low_precision_transformations/mat_mul_with_optimized_constant_fake_quantize_transformation.hpp"
|
||||
#include "low_precision_transformations/mat_mul_with_optimized_constant_fq.hpp"
|
||||
#include "common_test_utils/test_constants.hpp"
|
||||
|
||||
using namespace LayerTestsDefinitions;
|
||||
@@ -27,11 +27,11 @@ const std::vector<std::pair<ngraph::PartialShape, ngraph::Shape>> inputShapes =
|
||||
{{ 1, 16 }, { 16, 10 }}
|
||||
};
|
||||
|
||||
INSTANTIATE_TEST_SUITE_P(smoke_LPT, MatMulWithOptimizedConstantFakeQuantizeTransformation,
|
||||
INSTANTIATE_TEST_SUITE_P(smoke_LPT, MatMulWithOptimizedConstantFq,
|
||||
::testing::Combine(
|
||||
::testing::ValuesIn(netPrecisions),
|
||||
::testing::ValuesIn(inputShapes),
|
||||
::testing::Values(CommonTestUtils::DEVICE_GPU),
|
||||
::testing::ValuesIn(params)),
|
||||
MatMulWithOptimizedConstantFakeQuantizeTransformation::getTestCaseName);
|
||||
MatMulWithOptimizedConstantFq::getTestCaseName);
|
||||
} // namespace
|
||||
+3
-3
@@ -4,7 +4,7 @@
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include "low_precision_transformations/output_layers_handling_in_transformations.hpp"
|
||||
#include "low_precision_transformations/output_layers.hpp"
|
||||
#include "common_test_utils/test_constants.hpp"
|
||||
|
||||
using namespace LayerTestsDefinitions;
|
||||
@@ -19,11 +19,11 @@ const std::vector<LayerTransformation::Params> trasformationParamValues = {
|
||||
LayerTestsUtils::LayerTransformationParamsFactory::createParams()
|
||||
};
|
||||
|
||||
INSTANTIATE_TEST_SUITE_P(smoke_LPT, OutputLayersHandlingInTransformations,
|
||||
INSTANTIATE_TEST_SUITE_P(smoke_LPT, OutputLayers,
|
||||
::testing::Combine(
|
||||
::testing::ValuesIn(netPrecisions),
|
||||
::testing::Values(InferenceEngine::SizeVector({ 1, 3, 16, 16 })),
|
||||
::testing::Values(CommonTestUtils::DEVICE_GPU),
|
||||
::testing::ValuesIn(trasformationParamValues)),
|
||||
OutputLayersHandlingInTransformations::getTestCaseName);
|
||||
OutputLayers::getTestCaseName);
|
||||
} // namespace
|
||||
+3
-3
@@ -4,7 +4,7 @@
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include "low_precision_transformations/output_layers_handling_in_transformations_for_concat.hpp"
|
||||
#include "low_precision_transformations/output_layers_concat.hpp"
|
||||
#include "common_test_utils/test_constants.hpp"
|
||||
|
||||
using namespace LayerTestsDefinitions;
|
||||
@@ -19,11 +19,11 @@ const std::vector<LayerTransformation::Params> trasformationParamValues = {
|
||||
LayerTestsUtils::LayerTransformationParamsFactory::createParams()
|
||||
};
|
||||
|
||||
INSTANTIATE_TEST_SUITE_P(smoke_LPT, OutputLayersHandlingInTransformationsForConcat,
|
||||
INSTANTIATE_TEST_SUITE_P(smoke_LPT, OutputLayersConcat,
|
||||
::testing::Combine(
|
||||
::testing::ValuesIn(netPrecisions),
|
||||
::testing::Values(InferenceEngine::SizeVector({ 1, 3, 16, 16 })),
|
||||
::testing::Values(CommonTestUtils::DEVICE_GPU),
|
||||
::testing::ValuesIn(trasformationParamValues)),
|
||||
OutputLayersHandlingInTransformationsForConcat::getTestCaseName);
|
||||
OutputLayersConcat::getTestCaseName);
|
||||
} // namespace
|
||||
+3
-3
@@ -4,7 +4,7 @@
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include "low_precision_transformations/output_layers_handling_in_transformations_for_concat_multi_channel.hpp"
|
||||
#include "low_precision_transformations/output_layers_concat_multi_channel.hpp"
|
||||
#include "common_test_utils/test_constants.hpp"
|
||||
|
||||
using namespace LayerTestsDefinitions;
|
||||
@@ -19,11 +19,11 @@ const std::vector<LayerTransformation::Params> trasformationParamValues = {
|
||||
LayerTestsUtils::LayerTransformationParamsFactory::createParams()
|
||||
};
|
||||
|
||||
INSTANTIATE_TEST_SUITE_P(DISABLED_smoke_LPT, OutputLayersHandlingInTransformationsForConcatMultiChannel,
|
||||
INSTANTIATE_TEST_SUITE_P(DISABLED_smoke_LPT, OutputLayersConcatMultiChannel,
|
||||
::testing::Combine(
|
||||
::testing::ValuesIn(netPrecisions),
|
||||
::testing::Values(InferenceEngine::SizeVector({ 1, 3, 16, 16 })),
|
||||
::testing::Values(CommonTestUtils::DEVICE_GPU),
|
||||
::testing::ValuesIn(trasformationParamValues)),
|
||||
OutputLayersHandlingInTransformationsForConcatMultiChannel::getTestCaseName);
|
||||
OutputLayersConcatMultiChannel::getTestCaseName);
|
||||
} // namespace
|
||||
File renamed without changes.
File renamed without changes.
+1
-1
@@ -25,7 +25,7 @@ typedef std::tuple<
|
||||
MatMulWithOptimizedConstantFakeQuantizeTransformationTestValues
|
||||
> MatMulWithOptimizedConstantFakeQuantizeTransformationTransformationParams;
|
||||
|
||||
class MatMulWithOptimizedConstantFakeQuantizeTransformation :
|
||||
class MatMulWithOptimizedConstantFq :
|
||||
public testing::WithParamInterface<MatMulWithOptimizedConstantFakeQuantizeTransformationTransformationParams>,
|
||||
public LayerTestsUtils::LayerTransformation {
|
||||
public:
|
||||
+1
-1
@@ -11,7 +11,7 @@
|
||||
|
||||
namespace LayerTestsDefinitions {
|
||||
|
||||
class OutputLayersHandlingInTransformations :
|
||||
class OutputLayers :
|
||||
public testing::WithParamInterface<LayerTestsUtils::LayerTransformationParams>,
|
||||
public LayerTestsUtils::LayerTransformation {
|
||||
public:
|
||||
+1
-1
@@ -11,7 +11,7 @@
|
||||
|
||||
namespace LayerTestsDefinitions {
|
||||
|
||||
class OutputLayersHandlingInTransformationsForConcat :
|
||||
class OutputLayersConcat :
|
||||
public testing::WithParamInterface<LayerTestsUtils::LayerTransformationParams>,
|
||||
public LayerTestsUtils::LayerTransformation {
|
||||
public:
|
||||
+1
-1
@@ -18,7 +18,7 @@ typedef std::tuple<
|
||||
ngraph::pass::low_precision::LayerTransformation::Params,
|
||||
bool> OutputLayersHandlingInTransformationsParams;
|
||||
|
||||
class OutputLayersHandlingInTransformationsForConcatMultiChannel :
|
||||
class OutputLayersConcatMultiChannel :
|
||||
public testing::WithParamInterface<LayerTestsUtils::LayerTransformationParams>,
|
||||
public LayerTestsUtils::LayerTransformation {
|
||||
public:
|
||||
+4
-4
@@ -2,7 +2,7 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
#include "low_precision_transformations/mat_mul_with_optimized_constant_fake_quantize_transformation.hpp"
|
||||
#include "low_precision_transformations/mat_mul_with_optimized_constant_fq.hpp"
|
||||
|
||||
#include <memory>
|
||||
#include <tuple>
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
namespace LayerTestsDefinitions {
|
||||
|
||||
std::string MatMulWithOptimizedConstantFakeQuantizeTransformation::getTestCaseName(
|
||||
std::string MatMulWithOptimizedConstantFq::getTestCaseName(
|
||||
const testing::TestParamInfo<MatMulWithOptimizedConstantFakeQuantizeTransformationTransformationParams>& obj) {
|
||||
ngraph::element::Type netPrecision;
|
||||
std::pair<ngraph::PartialShape, ngraph::PartialShape> shapes;
|
||||
@@ -39,7 +39,7 @@ std::string MatMulWithOptimizedConstantFakeQuantizeTransformation::getTestCaseNa
|
||||
return result.str();
|
||||
}
|
||||
|
||||
void MatMulWithOptimizedConstantFakeQuantizeTransformation::SetUp() {
|
||||
void MatMulWithOptimizedConstantFq::SetUp() {
|
||||
threshold = 0.01f;
|
||||
|
||||
ngraph::element::Type precision;
|
||||
@@ -56,7 +56,7 @@ void MatMulWithOptimizedConstantFakeQuantizeTransformation::SetUp() {
|
||||
param.fqOnWeights);
|
||||
}
|
||||
|
||||
TEST_P(MatMulWithOptimizedConstantFakeQuantizeTransformation, CompareWithRefImpl) {
|
||||
TEST_P(MatMulWithOptimizedConstantFq, CompareWithRefImpl) {
|
||||
Run();
|
||||
};
|
||||
|
||||
+5
-5
@@ -2,7 +2,7 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
#include "low_precision_transformations/output_layers_handling_in_transformations.hpp"
|
||||
#include "low_precision_transformations/output_layers.hpp"
|
||||
|
||||
#include <memory>
|
||||
#include <tuple>
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
namespace LayerTestsDefinitions {
|
||||
|
||||
std::string OutputLayersHandlingInTransformations::getTestCaseName(const testing::TestParamInfo<LayerTestsUtils::LayerTransformationParams>& obj) {
|
||||
std::string OutputLayers::getTestCaseName(const testing::TestParamInfo<LayerTestsUtils::LayerTransformationParams>& obj) {
|
||||
InferenceEngine::Precision netPrecision;
|
||||
InferenceEngine::SizeVector inputShapes;
|
||||
std::string targetDevice;
|
||||
@@ -31,7 +31,7 @@ std::string OutputLayersHandlingInTransformations::getTestCaseName(const testing
|
||||
return getTestCaseNameByParams(netPrecision, inputShapes, targetDevice, params);
|
||||
}
|
||||
|
||||
InferenceEngine::Blob::Ptr OutputLayersHandlingInTransformations::GenerateInput(const InferenceEngine::InputInfo &info) const {
|
||||
InferenceEngine::Blob::Ptr OutputLayers::GenerateInput(const InferenceEngine::InputInfo &info) const {
|
||||
InferenceEngine::SizeVector inputShape;
|
||||
InferenceEngine::Precision netPrecision;
|
||||
std::string targetDevice;
|
||||
@@ -46,7 +46,7 @@ InferenceEngine::Blob::Ptr OutputLayersHandlingInTransformations::GenerateInput(
|
||||
return input;
|
||||
}
|
||||
|
||||
void OutputLayersHandlingInTransformations::SetUp() {
|
||||
void OutputLayers::SetUp() {
|
||||
InferenceEngine::SizeVector inputShape;
|
||||
InferenceEngine::Precision netPrecision;
|
||||
ngraph::pass::low_precision::LayerTransformation::Params params;
|
||||
@@ -89,7 +89,7 @@ void OutputLayersHandlingInTransformations::SetUp() {
|
||||
function = std::make_shared<ngraph::Function>(results, ngraph::ParameterVector { input }, "OutputLayersHandling");
|
||||
}
|
||||
|
||||
TEST_P(OutputLayersHandlingInTransformations, CompareWithRefImpl) {
|
||||
TEST_P(OutputLayers, CompareWithRefImpl) {
|
||||
Run();
|
||||
};
|
||||
|
||||
|
||||
+5
-5
@@ -2,7 +2,7 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
#include "low_precision_transformations/output_layers_handling_in_transformations_for_concat.hpp"
|
||||
#include "low_precision_transformations/output_layers_concat.hpp"
|
||||
|
||||
#include <memory>
|
||||
#include <tuple>
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
namespace LayerTestsDefinitions {
|
||||
|
||||
std::string OutputLayersHandlingInTransformationsForConcat::getTestCaseName(const testing::TestParamInfo<LayerTestsUtils::LayerTransformationParams>& obj) {
|
||||
std::string OutputLayersConcat::getTestCaseName(const testing::TestParamInfo<LayerTestsUtils::LayerTransformationParams>& obj) {
|
||||
InferenceEngine::Precision netPrecision;
|
||||
InferenceEngine::SizeVector inputShapes;
|
||||
std::string targetDevice;
|
||||
@@ -31,7 +31,7 @@ std::string OutputLayersHandlingInTransformationsForConcat::getTestCaseName(cons
|
||||
return getTestCaseNameByParams(netPrecision, inputShapes, targetDevice, params);
|
||||
}
|
||||
|
||||
InferenceEngine::Blob::Ptr OutputLayersHandlingInTransformationsForConcat::GenerateInput(const InferenceEngine::InputInfo &info) const {
|
||||
InferenceEngine::Blob::Ptr OutputLayersConcat::GenerateInput(const InferenceEngine::InputInfo &info) const {
|
||||
InferenceEngine::SizeVector inputShape;
|
||||
InferenceEngine::Precision netPrecision;
|
||||
std::string targetDevice;
|
||||
@@ -62,7 +62,7 @@ InferenceEngine::Blob::Ptr OutputLayersHandlingInTransformationsForConcat::Gener
|
||||
* Output
|
||||
*/
|
||||
|
||||
void OutputLayersHandlingInTransformationsForConcat::SetUp() {
|
||||
void OutputLayersConcat::SetUp() {
|
||||
InferenceEngine::SizeVector inputShape1;
|
||||
InferenceEngine::Precision netPrecision;
|
||||
ngraph::pass::low_precision::LayerTransformation::Params params;
|
||||
@@ -121,7 +121,7 @@ void OutputLayersHandlingInTransformationsForConcat::SetUp() {
|
||||
function = std::make_shared<ngraph::Function>(results, ngraph::ParameterVector { input1, input2 }, "OutputLayersHandling");
|
||||
}
|
||||
|
||||
TEST_P(OutputLayersHandlingInTransformationsForConcat, CompareWithRefImpl) {
|
||||
TEST_P(OutputLayersConcat, CompareWithRefImpl) {
|
||||
Run();
|
||||
};
|
||||
|
||||
|
||||
+5
-5
@@ -2,7 +2,7 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
#include "low_precision_transformations/output_layers_handling_in_transformations_for_concat_multi_channel.hpp"
|
||||
#include "low_precision_transformations/output_layers_concat_multi_channel.hpp"
|
||||
|
||||
#include <memory>
|
||||
#include <tuple>
|
||||
@@ -28,7 +28,7 @@ std::pair<float, float> outputLayersHandlingInTransformationsForConcatMultiChann
|
||||
return std::make_pair(low, hight);
|
||||
}
|
||||
|
||||
std::string OutputLayersHandlingInTransformationsForConcatMultiChannel::getTestCaseName(
|
||||
std::string OutputLayersConcatMultiChannel::getTestCaseName(
|
||||
const testing::TestParamInfo<LayerTestsUtils::LayerTransformationParams>& obj) {
|
||||
InferenceEngine::Precision netPrecision;
|
||||
InferenceEngine::SizeVector inputShapes;
|
||||
@@ -39,7 +39,7 @@ std::string OutputLayersHandlingInTransformationsForConcatMultiChannel::getTestC
|
||||
return getTestCaseNameByParams(netPrecision, inputShapes, targetDevice, params);
|
||||
}
|
||||
|
||||
InferenceEngine::Blob::Ptr OutputLayersHandlingInTransformationsForConcatMultiChannel::GenerateInput(const InferenceEngine::InputInfo &info) const {
|
||||
InferenceEngine::Blob::Ptr OutputLayersConcatMultiChannel::GenerateInput(const InferenceEngine::InputInfo &info) const {
|
||||
InferenceEngine::SizeVector inputShape;
|
||||
InferenceEngine::Precision netPrecision;
|
||||
std::string targetDevice;
|
||||
@@ -72,7 +72,7 @@ InferenceEngine::Blob::Ptr OutputLayersHandlingInTransformationsForConcatMultiCh
|
||||
* Output
|
||||
*/
|
||||
|
||||
void OutputLayersHandlingInTransformationsForConcatMultiChannel::SetUp() {
|
||||
void OutputLayersConcatMultiChannel::SetUp() {
|
||||
threshold = 0.05;
|
||||
|
||||
InferenceEngine::SizeVector inputShape1;
|
||||
@@ -113,7 +113,7 @@ void OutputLayersHandlingInTransformationsForConcatMultiChannel::SetUp() {
|
||||
function = std::make_shared<ngraph::Function>(results, ngraph::ParameterVector { input1, input2 }, "OutputLayersHandling");
|
||||
}
|
||||
|
||||
TEST_P(OutputLayersHandlingInTransformationsForConcatMultiChannel, CompareWithRefImpl) {
|
||||
TEST_P(OutputLayersConcatMultiChannel, CompareWithRefImpl) {
|
||||
Run();
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user