[Tests] Add virtual inheritance for the shared tests classes (#7897)
* [Tests] Add virtual inheritance for the shared tests classes * [Tests] Add virtual inheritance for the shared tests classes - part 2
This commit is contained in:
parent
b7cfa39fc0
commit
49f76af131
@ -16,7 +16,7 @@ typedef std::tuple<
|
||||
> padLayerCPUTestParamsSet;
|
||||
|
||||
class PadLayerCPUTest : public testing::WithParamInterface<padLayerCPUTestParamsSet>,
|
||||
public LayerTestsUtils::LayerTestsCommon, public CPUTestsBase {
|
||||
virtual public LayerTestsUtils::LayerTestsCommon, public CPUTestsBase {
|
||||
public:
|
||||
static std::string getTestCaseName(testing::TestParamInfo<padLayerCPUTestParamsSet> obj) {
|
||||
LayerTestsDefinitions::padLayerTestParamsSet basicParamsSet;
|
||||
|
@ -10,7 +10,7 @@ using ngraph::helpers::EltwiseTypes;
|
||||
|
||||
namespace SubgraphTestsDefinitions {
|
||||
|
||||
class NotFusedConvSimpleOp : public LayerTestsUtils::LayerTestsCommon {
|
||||
class NotFusedConvSimpleOp : virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
protected:
|
||||
void SetUp() override {
|
||||
targetDevice = CommonTestUtils::DEVICE_CPU;
|
||||
|
@ -19,7 +19,7 @@ typedef std::tuple<
|
||||
namespace FuncTestUtils {
|
||||
|
||||
class ImportNetworkTestBase : public testing::WithParamInterface<exportImportNetworkParams>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(testing::TestParamInfo<exportImportNetworkParams> obj);
|
||||
void Run() override;
|
||||
|
@ -26,7 +26,7 @@ using loadNetworkCacheParams = std::tuple<
|
||||
namespace LayerTestsDefinitions {
|
||||
|
||||
class LoadNetworkCacheTestBase : public testing::WithParamInterface<loadNetworkCacheParams>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
std::string m_cacheFolderName;
|
||||
std::string m_functionName;
|
||||
ngraph::element::Type m_precision;
|
||||
|
@ -20,7 +20,7 @@ typedef std::tuple<
|
||||
std::map<std::string, std::string> // Additional configuration
|
||||
> dynamicBatchTestParams;
|
||||
|
||||
class DynamicBatchTest : public LayerTestsUtils::LayerTestsCommon,
|
||||
class DynamicBatchTest : virtual public LayerTestsUtils::LayerTestsCommon,
|
||||
public testing::WithParamInterface<dynamicBatchTestParams> {
|
||||
private:
|
||||
bool run_async = false;
|
||||
|
@ -23,7 +23,7 @@ typedef std::tuple<
|
||||
> multiInputParams;
|
||||
|
||||
class CodegenAdd : public testing::WithParamInterface<LayerTestsDefinitions::multiInputParams>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(testing::TestParamInfo<LayerTestsDefinitions::multiInputParams> obj);
|
||||
|
||||
|
@ -23,7 +23,7 @@ typedef std::tuple<
|
||||
> multiInputParams;
|
||||
|
||||
class CodegenBert : public testing::WithParamInterface<LayerTestsDefinitions::multiInputParams>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(testing::TestParamInfo<LayerTestsDefinitions::multiInputParams> obj);
|
||||
|
||||
|
@ -23,7 +23,7 @@ typedef std::tuple<
|
||||
> multiInputParams;
|
||||
|
||||
class CodegenGelu : public testing::WithParamInterface<LayerTestsDefinitions::multiInputParams>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(testing::TestParamInfo<LayerTestsDefinitions::multiInputParams> obj);
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
namespace LayerTestsDefinitions {
|
||||
class ReadIRTest : public testing::WithParamInterface<std::tuple<std::string, std::string>>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<std::tuple<std::string, std::string>> &obj);
|
||||
|
||||
|
@ -20,7 +20,7 @@ typedef std::tuple<
|
||||
> BatchNormLayerTestParams;
|
||||
|
||||
class BatchNormLayerTest : public testing::WithParamInterface<BatchNormLayerTestParams>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<BatchNormLayerTestParams>& obj);
|
||||
|
||||
|
@ -31,7 +31,7 @@ typedef std::tuple<
|
||||
> CTCLossParams;
|
||||
|
||||
class CTCLossLayerTest : public testing::WithParamInterface<CTCLossParams>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<CTCLossParams> &obj);
|
||||
|
||||
|
@ -22,7 +22,7 @@ typedef std::tuple<
|
||||
> GatherElementsParams;
|
||||
|
||||
class GatherElementsLayerTest : public testing::WithParamInterface<GatherElementsParams>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<GatherElementsParams>& obj);
|
||||
|
||||
|
@ -28,7 +28,7 @@ typedef std::tuple<
|
||||
> GatherNDParams;
|
||||
|
||||
class GatherNDLayerTest : public testing::WithParamInterface<GatherNDParams>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<GatherNDParams> &obj);
|
||||
|
||||
|
@ -27,7 +27,7 @@ typedef std::tuple<
|
||||
> VariadicSplitParams;
|
||||
|
||||
class VariadicSplitLayerTest : public testing::WithParamInterface<VariadicSplitParams>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<VariadicSplitParams>& obj);
|
||||
|
||||
|
@ -20,7 +20,7 @@ using ActivationConcatsEltwiseParamsTuple = typename std::tuple<
|
||||
|
||||
|
||||
class ActivationConcatsEltwise : public testing::WithParamInterface<ActivationConcatsEltwiseParamsTuple>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<ParamType>& obj);
|
||||
|
||||
|
@ -24,7 +24,7 @@ typedef std::tuple<
|
||||
> basicLstmParams;
|
||||
|
||||
class Basic_LSTM_S : public testing::WithParamInterface<basicLstmParams>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<basicLstmParams>& obj);
|
||||
|
||||
|
@ -24,7 +24,7 @@ typedef std::tuple<
|
||||
|
||||
class CascadeConcat
|
||||
: public testing::WithParamInterface<CascadeConcatTuple>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<CascadeConcatTuple> &obj);
|
||||
protected:
|
||||
|
@ -31,7 +31,7 @@ typedef std::tuple<
|
||||
> ConcatConvParams;
|
||||
|
||||
class ConcatConvTest : public testing::WithParamInterface<ConcatConvParams>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<ConcatConvParams>& obj);
|
||||
InferenceEngine::Blob::Ptr GenerateInput(const InferenceEngine::InputInfo& info) const override;
|
||||
|
@ -25,7 +25,7 @@ typedef std::tuple<
|
||||
|
||||
class ConcatQuantDuringMemoryRequantTest
|
||||
: public testing::WithParamInterface<ConcatQuantDuringMemoryRequantTuple>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
private:
|
||||
void switchToNgraphFriendlyModel();
|
||||
std::vector<float> memory_1_init;
|
||||
|
@ -23,7 +23,7 @@ typedef std::tuple<
|
||||
|
||||
class SplitConcatConcatTest:
|
||||
public testing::WithParamInterface<SplitConcatConcatParams>,
|
||||
public LayerTestsUtils::LayerTestsCommon{
|
||||
virtual public LayerTestsUtils::LayerTestsCommon{
|
||||
public:
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<SplitConcatConcatParams> &obj);
|
||||
protected:
|
||||
|
@ -31,7 +31,7 @@ typedef std::tuple<
|
||||
> ConstConvConcatParams;
|
||||
|
||||
class ConstConvConcatTest : public testing::WithParamInterface<ConstConvConcatParams>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<ConstConvConcatParams>& obj);
|
||||
InferenceEngine::Blob::Ptr GenerateInput(const InferenceEngine::InputInfo& info) const override;
|
||||
|
@ -27,7 +27,7 @@ typedef std::tuple<
|
||||
> ConstStridedSliceConcatParams;
|
||||
|
||||
class ConstStridedSliceConcatTest : public testing::WithParamInterface<ConstStridedSliceConcatParams>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<ConstStridedSliceConcatParams>& obj);
|
||||
InferenceEngine::Blob::Ptr GenerateInput(const InferenceEngine::InputInfo& info) const override;
|
||||
|
@ -29,7 +29,7 @@ typedef std::tuple<
|
||||
|
||||
class ConvEltwiseFusion
|
||||
: public testing::WithParamInterface<ConvEltwiseFusionParams>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<ConvEltwiseFusionParams> &obj);
|
||||
|
||||
|
@ -22,7 +22,7 @@ typedef std::tuple<
|
||||
|
||||
class ConvStridesOpt
|
||||
: public testing::WithParamInterface<ConvStridesOptParams>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<ConvStridesOptParams> &obj);
|
||||
|
||||
|
@ -25,7 +25,7 @@ typedef std::tuple<
|
||||
|
||||
class ConvertPadToConvTests
|
||||
: public testing::WithParamInterface<PadParams>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<PadParams> &obj);
|
||||
|
||||
|
@ -24,7 +24,7 @@ typedef std::tuple<
|
||||
|
||||
class CopyBeforeSqueezeTest
|
||||
: public testing::WithParamInterface<CopyBeforeSqueezeTuple>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<CopyBeforeSqueezeTuple>& obj);
|
||||
protected:
|
||||
|
@ -24,7 +24,7 @@ typedef std::tuple<
|
||||
|
||||
class DelayedCopyTestBase
|
||||
: public testing::WithParamInterface<DelayedCopyTuple>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
private:
|
||||
void InitMemory();
|
||||
virtual void switchToNgraphFriendlyModel() = 0;
|
||||
|
@ -31,7 +31,7 @@ typedef std::tuple<
|
||||
> EltwiseConvEltwiseParams;
|
||||
|
||||
class EltwiseAfterConvTest : public testing::WithParamInterface<EltwiseConvEltwiseParams>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(testing::TestParamInfo<EltwiseConvEltwiseParams> obj);
|
||||
InferenceEngine::Blob::Ptr GenerateInput(const InferenceEngine::InputInfo& info) const override;
|
||||
@ -41,7 +41,7 @@ protected:
|
||||
};
|
||||
|
||||
class EltwiseBeforeConvTest : public testing::WithParamInterface<EltwiseConvEltwiseParams>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(testing::TestParamInfo<EltwiseConvEltwiseParams> obj);
|
||||
InferenceEngine::Blob::Ptr GenerateInput(const InferenceEngine::InputInfo& info) const override;
|
||||
@ -51,7 +51,7 @@ protected:
|
||||
};
|
||||
|
||||
class EltwiseWithTwoConvsAsInputsTest : public testing::WithParamInterface<EltwiseConvEltwiseParams>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<EltwiseConvEltwiseParams>& obj);
|
||||
InferenceEngine::Blob::Ptr GenerateInput(const InferenceEngine::InputInfo& info) const override;
|
||||
|
@ -18,7 +18,7 @@ using EltwiseReshapeActivationParams = typename std::tuple<
|
||||
>;
|
||||
|
||||
class EltwiseReshapeActivation : public testing::WithParamInterface<EltwiseReshapeActivationParams>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<ParamType>& obj);
|
||||
|
||||
|
@ -31,7 +31,7 @@ typedef std::tuple<
|
||||
> FcConvFcParams;
|
||||
|
||||
class FcAfterConvTest : public testing::WithParamInterface<FcConvFcParams>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<FcConvFcParams>& obj);
|
||||
InferenceEngine::Blob::Ptr GenerateInput(const InferenceEngine::InputInfo& info) const override;
|
||||
@ -41,7 +41,7 @@ protected:
|
||||
};
|
||||
|
||||
class FcBeforeConvTest : public testing::WithParamInterface<FcConvFcParams>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<FcConvFcParams>& obj);
|
||||
InferenceEngine::Blob::Ptr GenerateInput(const InferenceEngine::InputInfo& info) const override;
|
||||
@ -51,7 +51,7 @@ protected:
|
||||
};
|
||||
|
||||
class FcBetweenConvsTest : public testing::WithParamInterface<FcConvFcParams>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<FcConvFcParams>& obj);
|
||||
InferenceEngine::Blob::Ptr GenerateInput(const InferenceEngine::InputInfo& info) const override;
|
||||
|
@ -23,7 +23,7 @@ typedef std::tuple<
|
||||
> FqWithMixedLevelsParams;
|
||||
|
||||
class FqWithMixedLevelsTest : public testing::WithParamInterface<FqWithMixedLevelsParams>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<FqWithMixedLevelsParams>& obj);
|
||||
|
||||
|
@ -25,7 +25,7 @@ typedef std::tuple<
|
||||
|
||||
std::ostream& operator<< (std::ostream& os, const midOutputType& oType);
|
||||
|
||||
class OutputBeforeActivation : public LayerTestsUtils::LayerTestsCommon,
|
||||
class OutputBeforeActivation : virtual public LayerTestsUtils::LayerTestsCommon,
|
||||
public testing::WithParamInterface<outputBeforeActivationParams> {
|
||||
protected:
|
||||
void SetUp() override;
|
||||
|
@ -31,7 +31,7 @@ typedef std::tuple<
|
||||
> inputConvParams;
|
||||
|
||||
class InputConvTest : public testing::WithParamInterface<inputConvParams>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<inputConvParams>& obj);
|
||||
InferenceEngine::Blob::Ptr GenerateInput(const InferenceEngine::InputInfo& info) const override;
|
||||
|
@ -23,7 +23,7 @@ typedef std::tuple<
|
||||
> InputSplitConcatParams;
|
||||
|
||||
class InputSplitConcatTest : public testing::WithParamInterface<InputSplitConcatParams>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<InputSplitConcatParams>& obj);
|
||||
|
||||
|
@ -24,7 +24,7 @@ typedef std::tuple<
|
||||
> matmulSqueezeAddParams;
|
||||
|
||||
class MatmulSqueezeAddTest : public testing::WithParamInterface<matmulSqueezeAddParams>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<matmulSqueezeAddParams>& obj);
|
||||
|
||||
|
@ -18,7 +18,7 @@ typedef std::tuple<
|
||||
std::map<std::string, std::string> // Configuration
|
||||
> memoryLSTMCellParams;
|
||||
|
||||
class MemoryLSTMCellTest : public LayerTestsUtils::LayerTestsCommon,
|
||||
class MemoryLSTMCellTest : virtual public LayerTestsUtils::LayerTestsCommon,
|
||||
public testing::WithParamInterface<memoryLSTMCellParams> {
|
||||
private:
|
||||
// you have to Unroll TI manually and remove memory untill ngraph supports it
|
||||
|
@ -17,7 +17,7 @@ typedef std::tuple<
|
||||
std::map<std::string, std::string> // Configuration
|
||||
> memoryEltwiseReshapeConcatParams;
|
||||
|
||||
class MemoryEltwiseReshapeConcatTest : public LayerTestsUtils::LayerTestsCommon,
|
||||
class MemoryEltwiseReshapeConcatTest : virtual public LayerTestsUtils::LayerTestsCommon,
|
||||
public testing::WithParamInterface<memoryEltwiseReshapeConcatParams> {
|
||||
private:
|
||||
void initTestModel();
|
||||
|
@ -25,7 +25,7 @@ typedef std::tuple<
|
||||
|
||||
class MulConvFusion
|
||||
: public testing::WithParamInterface<MulConvFusionParams>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<MulConvFusionParams> &obj);
|
||||
|
||||
|
@ -18,7 +18,7 @@ typedef std::tuple<
|
||||
std::map<std::string, std::string> // Configuration
|
||||
> multipleLSTMCellParams;
|
||||
|
||||
class MultipleLSTMCellTest : public LayerTestsUtils::LayerTestsCommon,
|
||||
class MultipleLSTMCellTest : virtual public LayerTestsUtils::LayerTestsCommon,
|
||||
public testing::WithParamInterface<multipleLSTMCellParams> {
|
||||
private:
|
||||
// you have to Unroll TI manually and remove memory untill ngraph supports it
|
||||
|
@ -17,7 +17,7 @@ typedef std::tuple<
|
||||
std::map<std::string, std::string> // Configuration
|
||||
> multipleConcatParams;
|
||||
|
||||
class MultipleConcatTest : public LayerTestsUtils::LayerTestsCommon,
|
||||
class MultipleConcatTest : virtual public LayerTestsUtils::LayerTestsCommon,
|
||||
public testing::WithParamInterface<multipleConcatParams> {
|
||||
protected:
|
||||
void SetUp() override;
|
||||
|
@ -23,7 +23,7 @@ typedef std::tuple<
|
||||
|
||||
class MultipleConnectSplitConcatTest:
|
||||
public testing::WithParamInterface<MultipleConnectSplitConcatParams>,
|
||||
public LayerTestsUtils::LayerTestsCommon{
|
||||
virtual public LayerTestsUtils::LayerTestsCommon{
|
||||
public:
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<MultipleConnectSplitConcatParams> &obj);
|
||||
protected:
|
||||
|
@ -17,7 +17,7 @@ typedef std::tuple<
|
||||
std::map<std::string, std::string> // Configuration
|
||||
> multipleInputParams;
|
||||
|
||||
class MultipleInputTest : public LayerTestsUtils::LayerTestsCommon,
|
||||
class MultipleInputTest : virtual public LayerTestsUtils::LayerTestsCommon,
|
||||
public testing::WithParamInterface<multipleInputParams> {
|
||||
protected:
|
||||
void SetUp() override;
|
||||
|
@ -22,7 +22,7 @@ using MultiplyAddParamsTuple = typename std::tuple<
|
||||
|
||||
class MultiplyAddLayerTest:
|
||||
public testing::WithParamInterface<MultiplyAddParamsTuple>,
|
||||
public LayerTestsUtils::LayerTestsCommon{
|
||||
virtual public LayerTestsUtils::LayerTestsCommon{
|
||||
public:
|
||||
std::shared_ptr<ngraph::Function> fn;
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<MultiplyAddParamsTuple> &obj);
|
||||
|
@ -25,7 +25,7 @@ typedef std::tuple<
|
||||
> mvnMultiplyAddParams;
|
||||
|
||||
class MVNMultiplyAdd: public testing::WithParamInterface<mvnMultiplyAddParams>,
|
||||
public LayerTestsUtils::LayerTestsCommon{
|
||||
virtual public LayerTestsUtils::LayerTestsCommon{
|
||||
public:
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<mvnMultiplyAddParams> &obj);
|
||||
protected:
|
||||
|
@ -25,7 +25,7 @@ typedef std::tuple<
|
||||
|
||||
class NegativeMemoryOffsetTest
|
||||
: public testing::WithParamInterface<NegativeMemoryLayerOffsetTuple>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
private:
|
||||
void switchToNgraphFriendlyModel();
|
||||
std::vector<float> memory_init;
|
||||
|
@ -25,7 +25,7 @@ using ReduceEltwiseParamsTuple = typename std::tuple<
|
||||
|
||||
class ReduceEltwiseTest:
|
||||
public testing::WithParamInterface<ReduceEltwiseParamsTuple>,
|
||||
public LayerTestsUtils::LayerTestsCommon{
|
||||
virtual public LayerTestsUtils::LayerTestsCommon{
|
||||
public:
|
||||
std::shared_ptr<ngraph::Function> fn;
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<ReduceEltwiseParamsTuple> &obj);
|
||||
|
@ -25,7 +25,7 @@ typedef std::tuple<
|
||||
|
||||
class ReluSplitReshape:
|
||||
public testing::WithParamInterface<ReluSplitReshapeTuple>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<ReluSplitReshapeTuple> &obj);
|
||||
protected:
|
||||
|
@ -31,7 +31,7 @@ typedef std::tuple<
|
||||
> ScaleShiftConvScaleShiftParams;
|
||||
|
||||
class ScaleShiftAfterConvTest : public testing::WithParamInterface<ScaleShiftConvScaleShiftParams>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<ScaleShiftConvScaleShiftParams>& obj);
|
||||
InferenceEngine::Blob::Ptr GenerateInput(const InferenceEngine::InputInfo& info) const override;
|
||||
@ -41,7 +41,7 @@ protected:
|
||||
};
|
||||
|
||||
class ScaleShiftBeforeConvTest : public testing::WithParamInterface<ScaleShiftConvScaleShiftParams>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<ScaleShiftConvScaleShiftParams>& obj);
|
||||
InferenceEngine::Blob::Ptr GenerateInput(const InferenceEngine::InputInfo& info) const override;
|
||||
|
@ -20,7 +20,7 @@ using SimpleIfParamsTuple = typename std::tuple<
|
||||
|
||||
class SimpleIfTest:
|
||||
public testing::WithParamInterface<SimpleIfParamsTuple>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<SimpleIfParamsTuple> &obj);
|
||||
protected:
|
||||
|
@ -23,7 +23,7 @@ typedef std::tuple<
|
||||
> softsignParams;
|
||||
|
||||
class SoftsignTest : public testing::WithParamInterface<softsignParams>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<softsignParams>& obj);
|
||||
|
||||
|
@ -19,7 +19,7 @@ using SplitConcatMemoryParamsTuple = typename std::tuple<
|
||||
|
||||
|
||||
class SplitConcatMemory : public testing::WithParamInterface<SplitConcatMemoryParamsTuple>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<ParamType>& obj);
|
||||
|
||||
|
@ -31,7 +31,7 @@ typedef std::tuple<
|
||||
> SplitConvParams;
|
||||
|
||||
class SplitConvTest : public testing::WithParamInterface<SplitConvParams>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<SplitConvParams>& obj);
|
||||
InferenceEngine::Blob::Ptr GenerateInput(const InferenceEngine::InputInfo& info) const override;
|
||||
|
@ -25,7 +25,7 @@ typedef std::tuple<
|
||||
|
||||
class SplitRelu:
|
||||
public testing::WithParamInterface<SplitReluTuple>,
|
||||
public LayerTestsUtils::LayerTestsCommon{
|
||||
virtual public LayerTestsUtils::LayerTestsCommon{
|
||||
public:
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<SplitReluTuple> &obj);
|
||||
protected:
|
||||
|
@ -26,7 +26,7 @@ typedef std::tuple<
|
||||
|
||||
class SplitTrivialPermuteConcatTest
|
||||
: public testing::WithParamInterface<SplitTrivialPermuteConcatTuple>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<SplitTrivialPermuteConcatTuple>& obj);
|
||||
protected:
|
||||
|
@ -30,7 +30,7 @@ typedef std::tuple<
|
||||
> SliceConvParams;
|
||||
|
||||
class SliceConvTest : public testing::WithParamInterface<SliceConvParams>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<SliceConvParams>& obj);
|
||||
InferenceEngine::Blob::Ptr GenerateInput(const InferenceEngine::InputInfo& info) const override;
|
||||
|
@ -27,7 +27,7 @@ typedef std::tuple<
|
||||
|
||||
|
||||
class VariadicSplitPad: public testing::WithParamInterface<SplitPadTuple>,
|
||||
public LayerTestsUtils::LayerTestsCommon{
|
||||
virtual public LayerTestsUtils::LayerTestsCommon{
|
||||
public:
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<SplitPadTuple> &obj);
|
||||
protected:
|
||||
|
Loading…
Reference in New Issue
Block a user