[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:
Mikhail Znamenskiy 2021-10-21 11:31:50 +03:00 committed by GitHub
parent b7cfa39fc0
commit 49f76af131
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
56 changed files with 61 additions and 61 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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:

View File

@ -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;

View File

@ -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;

View File

@ -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:

View File

@ -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;

View File

@ -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;

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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:

View File

@ -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;

View File

@ -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;

View File

@ -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);

View File

@ -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;

View File

@ -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);

View File

@ -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;

View File

@ -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;

View File

@ -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);

View File

@ -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);

View File

@ -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

View File

@ -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();

View File

@ -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);

View File

@ -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

View File

@ -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;

View File

@ -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:

View File

@ -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;

View File

@ -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);

View File

@ -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:

View File

@ -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;

View File

@ -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);

View File

@ -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:

View File

@ -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;

View File

@ -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:

View File

@ -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);

View File

@ -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);

View File

@ -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;

View File

@ -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:

View File

@ -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:

View File

@ -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;

View File

@ -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: