update subgraph test classes (#7383)

This commit is contained in:
Dawid Kożykowski 2021-09-13 06:19:30 +02:00 committed by GitHub
parent 3afc0342eb
commit 0bc17a2f55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
80 changed files with 106 additions and 106 deletions

View File

@ -22,7 +22,7 @@ using ActivationConcatsEltwiseParamsTuple = typename std::tuple<
class ActivationConcatsEltwise : public testing::WithParamInterface<ActivationConcatsEltwiseParamsTuple>, class ActivationConcatsEltwise : public testing::WithParamInterface<ActivationConcatsEltwiseParamsTuple>,
public LayerTestsUtils::LayerTestsCommon { public LayerTestsUtils::LayerTestsCommon {
public: public:
static std::string getTestCaseName(testing::TestParamInfo<ParamType> obj); static std::string getTestCaseName(const testing::TestParamInfo<ParamType>& obj);
protected: protected:
void SetUp() override; void SetUp() override;

View File

@ -45,7 +45,7 @@ typedef std::tuple<
class ActivationFakeQuantizeSubgraphTest : public testing::WithParamInterface<fqSubgraphTestParamsSet>, class ActivationFakeQuantizeSubgraphTest : public testing::WithParamInterface<fqSubgraphTestParamsSet>,
virtual public LayerTestsUtils::LayerTestsCommon { virtual public LayerTestsUtils::LayerTestsCommon {
public: public:
static std::string getTestCaseName(testing::TestParamInfo<fqSubgraphTestParamsSet> obj); static std::string getTestCaseName(const testing::TestParamInfo<fqSubgraphTestParamsSet>& obj);
protected: protected:
void SetUp() override; void SetUp() override;

View File

@ -26,7 +26,7 @@ typedef std::tuple<
class Basic_LSTM_S : public testing::WithParamInterface<basicLstmParams>, class Basic_LSTM_S : public testing::WithParamInterface<basicLstmParams>,
public LayerTestsUtils::LayerTestsCommon { public LayerTestsUtils::LayerTestsCommon {
public: public:
static std::string getTestCaseName(testing::TestParamInfo<basicLstmParams> obj); static std::string getTestCaseName(const testing::TestParamInfo<basicLstmParams>& obj);
void Run() override; void Run() override;
static std::shared_ptr<ngraph::Function> GetNetwork(size_t thirdDimOut, static std::shared_ptr<ngraph::Function> GetNetwork(size_t thirdDimOut,

View File

@ -25,7 +25,7 @@ typedef std::tuple<
class BroadcastPowerTest : public testing::WithParamInterface<BroadCastPowerTuple>, class BroadcastPowerTest : public testing::WithParamInterface<BroadCastPowerTuple>,
virtual public LayerTestsUtils::LayerTestsCommon { virtual public LayerTestsUtils::LayerTestsCommon {
public: public:
static std::string getTestCaseName(testing::TestParamInfo<BroadCastPowerTuple> obj); static std::string getTestCaseName(const testing::TestParamInfo<BroadCastPowerTuple>& obj);
protected: protected:
void SetUp() override; void SetUp() override;

View File

@ -35,7 +35,7 @@ typedef std::tuple<
class ClampFakeQuantizeSubgraphTest : public testing::WithParamInterface<fqSubgraphTestParamsSet>, class ClampFakeQuantizeSubgraphTest : public testing::WithParamInterface<fqSubgraphTestParamsSet>,
virtual public LayerTestsUtils::LayerTestsCommon { virtual public LayerTestsUtils::LayerTestsCommon {
public: public:
static std::string getTestCaseName(testing::TestParamInfo<fqSubgraphTestParamsSet> obj); static std::string getTestCaseName(const testing::TestParamInfo<fqSubgraphTestParamsSet>& obj);
protected: protected:
void SetUp() override; void SetUp() override;

View File

@ -33,7 +33,7 @@ typedef std::tuple<
class ConcatConvTest : public testing::WithParamInterface<ConcatConvParams>, class ConcatConvTest : public testing::WithParamInterface<ConcatConvParams>,
public LayerTestsUtils::LayerTestsCommon { public LayerTestsUtils::LayerTestsCommon {
public: public:
static std::string getTestCaseName(testing::TestParamInfo<ConcatConvParams> obj); static std::string getTestCaseName(const testing::TestParamInfo<ConcatConvParams>& obj);
InferenceEngine::Blob::Ptr GenerateInput(const InferenceEngine::InputInfo& info) const override; InferenceEngine::Blob::Ptr GenerateInput(const InferenceEngine::InputInfo& info) const override;
protected: protected:

View File

@ -33,7 +33,7 @@ public:
void GenerateStridedSliceModel(); void GenerateStridedSliceModel();
void GenerateConstOnlyModel(); void GenerateConstOnlyModel();
void GenerateMemoryModel(); void GenerateMemoryModel();
static std::string getTestCaseName(testing::TestParamInfo<concatMultiParams> obj); static std::string getTestCaseName(const testing::TestParamInfo<concatMultiParams>& obj);
protected: protected:
void SetUp() override; void SetUp() override;

View File

@ -24,7 +24,7 @@ typedef std::tuple<
class ConcatQuantization : public testing::WithParamInterface<concatQuantizationParams>, class ConcatQuantization : public testing::WithParamInterface<concatQuantizationParams>,
virtual public LayerTestsUtils::LayerTestsCommon { virtual public LayerTestsUtils::LayerTestsCommon {
public: public:
static std::string getTestCaseName(testing::TestParamInfo<concatQuantizationParams> obj); static std::string getTestCaseName(const testing::TestParamInfo<concatQuantizationParams>& obj);
protected: protected:
void SetUp() override; void SetUp() override;

View File

@ -33,7 +33,7 @@ typedef std::tuple<
class ConstConvConcatTest : public testing::WithParamInterface<ConstConvConcatParams>, class ConstConvConcatTest : public testing::WithParamInterface<ConstConvConcatParams>,
public LayerTestsUtils::LayerTestsCommon { public LayerTestsUtils::LayerTestsCommon {
public: public:
static std::string getTestCaseName(testing::TestParamInfo<ConstConvConcatParams> obj); static std::string getTestCaseName(const testing::TestParamInfo<ConstConvConcatParams>& obj);
InferenceEngine::Blob::Ptr GenerateInput(const InferenceEngine::InputInfo& info) const override; InferenceEngine::Blob::Ptr GenerateInput(const InferenceEngine::InputInfo& info) const override;
protected: protected:

View File

@ -29,7 +29,7 @@ typedef std::tuple<
class ConstStridedSliceConcatTest : public testing::WithParamInterface<ConstStridedSliceConcatParams>, class ConstStridedSliceConcatTest : public testing::WithParamInterface<ConstStridedSliceConcatParams>,
public LayerTestsUtils::LayerTestsCommon { public LayerTestsUtils::LayerTestsCommon {
public: public:
static std::string getTestCaseName(testing::TestParamInfo<ConstStridedSliceConcatParams> obj); static std::string getTestCaseName(const testing::TestParamInfo<ConstStridedSliceConcatParams>& obj);
InferenceEngine::Blob::Ptr GenerateInput(const InferenceEngine::InputInfo& info) const override; InferenceEngine::Blob::Ptr GenerateInput(const InferenceEngine::InputInfo& info) const override;
protected: protected:

View File

@ -31,8 +31,8 @@ typedef std::tuple <
class ConstantResultSubgraphTest : public testing::WithParamInterface<constResultParams>, class ConstantResultSubgraphTest : public testing::WithParamInterface<constResultParams>,
virtual public LayerTestsUtils::LayerTestsCommon { virtual public LayerTestsUtils::LayerTestsCommon {
public: public:
static std::string getTestCaseName(testing::TestParamInfo<constResultParams> obj); static std::string getTestCaseName(const testing::TestParamInfo<constResultParams>& obj);
void createGraph(ConstantSubgraphType type, const InferenceEngine::SizeVector &inputShape, const InferenceEngine::Precision &inputPrecision); void createGraph(const ConstantSubgraphType& type, const InferenceEngine::SizeVector &inputShape, const InferenceEngine::Precision &inputPrecision);
protected: protected:
void SetUp() override; void SetUp() override;
}; };

View File

@ -39,7 +39,7 @@ typedef std::tuple<
class ConvFqEltwiseTest : public testing::WithParamInterface<ConvFqEltwiseTestParamsSet>, class ConvFqEltwiseTest : public testing::WithParamInterface<ConvFqEltwiseTestParamsSet>,
virtual public LayerTestsUtils::LayerTestsCommon { virtual public LayerTestsUtils::LayerTestsCommon {
public: public:
static std::string getTestCaseName(testing::TestParamInfo<ConvFqEltwiseTestParamsSet> obj); static std::string getTestCaseName(const testing::TestParamInfo<ConvFqEltwiseTestParamsSet>& obj);
protected: protected:
void SetUp() override; void SetUp() override;

View File

@ -39,7 +39,7 @@ typedef std::tuple<
class ConvFqReluTest : public testing::WithParamInterface<ConvFqReluTestParamsSet>, class ConvFqReluTest : public testing::WithParamInterface<ConvFqReluTestParamsSet>,
virtual public LayerTestsUtils::LayerTestsCommon { virtual public LayerTestsUtils::LayerTestsCommon {
public: public:
static std::string getTestCaseName(testing::TestParamInfo<ConvFqReluTestParamsSet> obj); static std::string getTestCaseName(const testing::TestParamInfo<ConvFqReluTestParamsSet>& obj);
protected: protected:
void SetUp() override; void SetUp() override;

View File

@ -43,7 +43,7 @@ typedef std::tuple<
class ConvolutionReluSequenceTest : public testing::WithParamInterface<convReluSequenceTestParamsSet>, class ConvolutionReluSequenceTest : public testing::WithParamInterface<convReluSequenceTestParamsSet>,
virtual public LayerTestsUtils::LayerTestsCommon { virtual public LayerTestsUtils::LayerTestsCommon {
public: public:
static std::string getTestCaseName(testing::TestParamInfo<convReluSequenceTestParamsSet> obj); static std::string getTestCaseName(const testing::TestParamInfo<convReluSequenceTestParamsSet>& obj);
protected: protected:
void SetUp() override; void SetUp() override;

View File

@ -53,7 +53,7 @@ protected:
class EltwiseWithTwoConvsAsInputsTest : public testing::WithParamInterface<EltwiseConvEltwiseParams>, class EltwiseWithTwoConvsAsInputsTest : public testing::WithParamInterface<EltwiseConvEltwiseParams>,
public LayerTestsUtils::LayerTestsCommon { public LayerTestsUtils::LayerTestsCommon {
public: public:
static std::string getTestCaseName(testing::TestParamInfo<EltwiseConvEltwiseParams> obj); static std::string getTestCaseName(const testing::TestParamInfo<EltwiseConvEltwiseParams>& obj);
InferenceEngine::Blob::Ptr GenerateInput(const InferenceEngine::InputInfo& info) const override; InferenceEngine::Blob::Ptr GenerateInput(const InferenceEngine::InputInfo& info) const override;
protected: protected:

View File

@ -20,7 +20,7 @@ using EltwiseReshapeActivationParams = typename std::tuple<
class EltwiseReshapeActivation : public testing::WithParamInterface<EltwiseReshapeActivationParams>, class EltwiseReshapeActivation : public testing::WithParamInterface<EltwiseReshapeActivationParams>,
public LayerTestsUtils::LayerTestsCommon { public LayerTestsUtils::LayerTestsCommon {
public: public:
static std::string getTestCaseName(testing::TestParamInfo<ParamType> obj); static std::string getTestCaseName(const testing::TestParamInfo<ParamType>& obj);
protected: protected:
void SetUp() override; void SetUp() override;

View File

@ -33,7 +33,7 @@ typedef std::tuple<
class FcAfterConvTest : public testing::WithParamInterface<FcConvFcParams>, class FcAfterConvTest : public testing::WithParamInterface<FcConvFcParams>,
public LayerTestsUtils::LayerTestsCommon { public LayerTestsUtils::LayerTestsCommon {
public: public:
static std::string getTestCaseName(testing::TestParamInfo<FcConvFcParams> obj); static std::string getTestCaseName(const testing::TestParamInfo<FcConvFcParams>& obj);
InferenceEngine::Blob::Ptr GenerateInput(const InferenceEngine::InputInfo& info) const override; InferenceEngine::Blob::Ptr GenerateInput(const InferenceEngine::InputInfo& info) const override;
protected: protected:
@ -43,7 +43,7 @@ protected:
class FcBeforeConvTest : public testing::WithParamInterface<FcConvFcParams>, class FcBeforeConvTest : public testing::WithParamInterface<FcConvFcParams>,
public LayerTestsUtils::LayerTestsCommon { public LayerTestsUtils::LayerTestsCommon {
public: public:
static std::string getTestCaseName(testing::TestParamInfo<FcConvFcParams> obj); static std::string getTestCaseName(const testing::TestParamInfo<FcConvFcParams>& obj);
InferenceEngine::Blob::Ptr GenerateInput(const InferenceEngine::InputInfo& info) const override; InferenceEngine::Blob::Ptr GenerateInput(const InferenceEngine::InputInfo& info) const override;
protected: protected:
@ -53,7 +53,7 @@ protected:
class FcBetweenConvsTest : public testing::WithParamInterface<FcConvFcParams>, class FcBetweenConvsTest : public testing::WithParamInterface<FcConvFcParams>,
public LayerTestsUtils::LayerTestsCommon { public LayerTestsUtils::LayerTestsCommon {
public: public:
static std::string getTestCaseName(testing::TestParamInfo<FcConvFcParams> obj); static std::string getTestCaseName(const testing::TestParamInfo<FcConvFcParams>& obj);
InferenceEngine::Blob::Ptr GenerateInput(const InferenceEngine::InputInfo& info) const override; InferenceEngine::Blob::Ptr GenerateInput(const InferenceEngine::InputInfo& info) const override;
protected: protected:

View File

@ -25,7 +25,7 @@ typedef std::tuple<
class ConcatFirstInputTest : public testing::WithParamInterface<concatFirstInputParams>, class ConcatFirstInputTest : public testing::WithParamInterface<concatFirstInputParams>,
virtual public LayerTestsUtils::LayerTestsCommon { virtual public LayerTestsUtils::LayerTestsCommon {
public: public:
static std::string getTestCaseName(testing::TestParamInfo<concatFirstInputParams> obj); static std::string getTestCaseName(const testing::TestParamInfo<concatFirstInputParams>& obj);
protected: protected:
void SetUp() override; void SetUp() override;

View File

@ -40,7 +40,7 @@ typedef std::tuple<
class FqConvFqAffineTest : public testing::WithParamInterface<FqConvFqAffineTestParamsSet>, class FqConvFqAffineTest : public testing::WithParamInterface<FqConvFqAffineTestParamsSet>,
virtual public LayerTestsUtils::LayerTestsCommon { virtual public LayerTestsUtils::LayerTestsCommon {
public: public:
static std::string getTestCaseName(testing::TestParamInfo<FqConvFqAffineTestParamsSet> obj); static std::string getTestCaseName(const testing::TestParamInfo<FqConvFqAffineTestParamsSet>& obj);
protected: protected:
void SetUp() override; void SetUp() override;

View File

@ -33,7 +33,7 @@ typedef std::tuple<
class InputConvTest : public testing::WithParamInterface<inputConvParams>, class InputConvTest : public testing::WithParamInterface<inputConvParams>,
public LayerTestsUtils::LayerTestsCommon { public LayerTestsUtils::LayerTestsCommon {
public: public:
static std::string getTestCaseName(testing::TestParamInfo<inputConvParams> obj); static std::string getTestCaseName(const testing::TestParamInfo<inputConvParams>& obj);
InferenceEngine::Blob::Ptr GenerateInput(const InferenceEngine::InputInfo& info) const override; InferenceEngine::Blob::Ptr GenerateInput(const InferenceEngine::InputInfo& info) const override;
protected: protected:

View File

@ -25,7 +25,7 @@ typedef std::tuple<
class InputSplitConcatTest : public testing::WithParamInterface<InputSplitConcatParams>, class InputSplitConcatTest : public testing::WithParamInterface<InputSplitConcatParams>,
public LayerTestsUtils::LayerTestsCommon { public LayerTestsUtils::LayerTestsCommon {
public: public:
static std::string getTestCaseName(testing::TestParamInfo<InputSplitConcatParams> obj); static std::string getTestCaseName(const testing::TestParamInfo<InputSplitConcatParams>& obj);
protected: protected:
void SetUp() override; void SetUp() override;

View File

@ -26,7 +26,7 @@ typedef std::tuple<
class MatmulSqueezeAddTest : public testing::WithParamInterface<matmulSqueezeAddParams>, class MatmulSqueezeAddTest : public testing::WithParamInterface<matmulSqueezeAddParams>,
public LayerTestsUtils::LayerTestsCommon { public LayerTestsUtils::LayerTestsCommon {
public: public:
static std::string getTestCaseName(testing::TestParamInfo<matmulSqueezeAddParams> obj); static std::string getTestCaseName(const testing::TestParamInfo<matmulSqueezeAddParams>& obj);
protected: protected:
void SetUp() override; void SetUp() override;

View File

@ -21,7 +21,7 @@ typedef std::tuple<
class ParameterResultSubgraphTest : public testing::WithParamInterface<parameterResultParams>, class ParameterResultSubgraphTest : public testing::WithParamInterface<parameterResultParams>,
virtual public LayerTestsUtils::LayerTestsCommon { virtual public LayerTestsUtils::LayerTestsCommon {
public: public:
static std::string getTestCaseName(testing::TestParamInfo<parameterResultParams> obj); static std::string getTestCaseName(const testing::TestParamInfo<parameterResultParams>& obj);
protected: protected:
void SetUp() override; void SetUp() override;
}; };

View File

@ -22,7 +22,7 @@ typedef std::tuple<
class ParameterShapeOfResultSubgraphTest : public testing::WithParamInterface<parameterShapeOfResultParams>, class ParameterShapeOfResultSubgraphTest : public testing::WithParamInterface<parameterShapeOfResultParams>,
virtual public LayerTestsUtils::LayerTestsCommon { virtual public LayerTestsUtils::LayerTestsCommon {
public: public:
static std::string getTestCaseName(testing::TestParamInfo<parameterShapeOfResultParams> obj); static std::string getTestCaseName(const testing::TestParamInfo<parameterShapeOfResultParams>& obj);
protected: protected:
void SetUp() override; void SetUp() override;
}; };

View File

@ -27,7 +27,7 @@ typedef std::tuple<
class PermConvPermConcat : public testing::WithParamInterface<PermConvPermConcatParams>, class PermConvPermConcat : public testing::WithParamInterface<PermConvPermConcatParams>,
virtual public LayerTestsUtils::LayerTestsCommon { virtual public LayerTestsUtils::LayerTestsCommon {
public: public:
static std::string getTestCaseName(testing::TestParamInfo<PermConvPermConcatParams> obj); static std::string getTestCaseName(const testing::TestParamInfo<PermConvPermConcatParams>& obj);
protected: protected:
void SetUp() override; void SetUp() override;

View File

@ -34,7 +34,7 @@ typedef std::tuple<
class QuantConvBackpropDataLayerTest : public testing::WithParamInterface<quantConvBackpropDataLayerTestParamsSet>, class QuantConvBackpropDataLayerTest : public testing::WithParamInterface<quantConvBackpropDataLayerTestParamsSet>,
virtual public LayerTestsUtils::LayerTestsCommon { virtual public LayerTestsUtils::LayerTestsCommon {
public: public:
static std::string getTestCaseName(testing::TestParamInfo<quantConvBackpropDataLayerTestParamsSet> obj); static std::string getTestCaseName(const testing::TestParamInfo<quantConvBackpropDataLayerTestParamsSet>& obj);
protected: protected:
void SetUp() override; void SetUp() override;

View File

@ -35,7 +35,7 @@ typedef std::tuple<
class QuantGroupConvLayerTest : public testing::WithParamInterface<quantGroupConvLayerTestParamsSet>, class QuantGroupConvLayerTest : public testing::WithParamInterface<quantGroupConvLayerTestParamsSet>,
virtual public LayerTestsUtils::LayerTestsCommon { virtual public LayerTestsUtils::LayerTestsCommon {
public: public:
static std::string getTestCaseName(testing::TestParamInfo<quantGroupConvLayerTestParamsSet> obj); static std::string getTestCaseName(const testing::TestParamInfo<quantGroupConvLayerTestParamsSet>& obj);
protected: protected:
void SetUp() override; void SetUp() override;

View File

@ -35,7 +35,7 @@ typedef std::tuple<
class QuantGroupConvBackpropDataLayerTest : public testing::WithParamInterface<quantGroupConvBackpropDataLayerTestParamsSet>, class QuantGroupConvBackpropDataLayerTest : public testing::WithParamInterface<quantGroupConvBackpropDataLayerTestParamsSet>,
virtual public LayerTestsUtils::LayerTestsCommon { virtual public LayerTestsUtils::LayerTestsCommon {
public: public:
static std::string getTestCaseName(testing::TestParamInfo<quantGroupConvBackpropDataLayerTestParamsSet> obj); static std::string getTestCaseName(const testing::TestParamInfo<quantGroupConvBackpropDataLayerTestParamsSet>& obj);
protected: protected:
void SetUp() override; void SetUp() override;

View File

@ -21,7 +21,7 @@ namespace SubgraphTestsDefinitions {
class RangeAddSubgraphTest : public testing::WithParamInterface<LayerTestsDefinitions::RangeParams>, class RangeAddSubgraphTest : public testing::WithParamInterface<LayerTestsDefinitions::RangeParams>,
virtual public LayerTestsUtils::LayerTestsCommon { virtual public LayerTestsUtils::LayerTestsCommon {
public: public:
static std::string getTestCaseName(testing::TestParamInfo<LayerTestsDefinitions::RangeParams> obj); static std::string getTestCaseName(const testing::TestParamInfo<LayerTestsDefinitions::RangeParams>& obj);
protected: protected:
void SetUp() override; void SetUp() override;
}; };
@ -31,7 +31,7 @@ protected:
class RangeNumpyAddSubgraphTest : public testing::WithParamInterface<LayerTestsDefinitions::RangeParams>, class RangeNumpyAddSubgraphTest : public testing::WithParamInterface<LayerTestsDefinitions::RangeParams>,
virtual public LayerTestsUtils::LayerTestsCommon { virtual public LayerTestsUtils::LayerTestsCommon {
public: public:
static std::string getTestCaseName(testing::TestParamInfo<LayerTestsDefinitions::RangeParams> obj); static std::string getTestCaseName(const testing::TestParamInfo<LayerTestsDefinitions::RangeParams>& obj);
protected: protected:
void SetUp() override; void SetUp() override;
}; };

View File

@ -19,7 +19,7 @@ namespace SubgraphTestsDefinitions {
class ReluShapeOfSubgraphTest : public testing::WithParamInterface<LayerTestsDefinitions::shapeOfParams>, class ReluShapeOfSubgraphTest : public testing::WithParamInterface<LayerTestsDefinitions::shapeOfParams>,
virtual public LayerTestsUtils::LayerTestsCommon { virtual public LayerTestsUtils::LayerTestsCommon {
public: public:
static std::string getTestCaseName(testing::TestParamInfo<LayerTestsDefinitions::shapeOfParams> obj); static std::string getTestCaseName(const testing::TestParamInfo<LayerTestsDefinitions::shapeOfParams>& obj);
protected: protected:
void SetUp() override; void SetUp() override;
}; };

View File

@ -27,7 +27,7 @@ namespace SubgraphTestsDefinitions {
class ConvReshapeAct : public testing::WithParamInterface<ConvReshapeActParams>, class ConvReshapeAct : public testing::WithParamInterface<ConvReshapeActParams>,
virtual public LayerTestsUtils::LayerTestsCommon { virtual public LayerTestsUtils::LayerTestsCommon {
public: public:
static std::string getTestCaseName(testing::TestParamInfo<ConvReshapeActParams> obj); static std::string getTestCaseName(const testing::TestParamInfo<ConvReshapeActParams>& obj);
protected: protected:
void SetUp() override; void SetUp() override;

View File

@ -33,7 +33,7 @@ typedef std::tuple<
class ScaleShiftAfterConvTest : public testing::WithParamInterface<ScaleShiftConvScaleShiftParams>, class ScaleShiftAfterConvTest : public testing::WithParamInterface<ScaleShiftConvScaleShiftParams>,
public LayerTestsUtils::LayerTestsCommon { public LayerTestsUtils::LayerTestsCommon {
public: public:
static std::string getTestCaseName(testing::TestParamInfo<ScaleShiftConvScaleShiftParams> obj); static std::string getTestCaseName(const testing::TestParamInfo<ScaleShiftConvScaleShiftParams>& obj);
InferenceEngine::Blob::Ptr GenerateInput(const InferenceEngine::InputInfo& info) const override; InferenceEngine::Blob::Ptr GenerateInput(const InferenceEngine::InputInfo& info) const override;
protected: protected:
@ -43,7 +43,7 @@ protected:
class ScaleShiftBeforeConvTest : public testing::WithParamInterface<ScaleShiftConvScaleShiftParams>, class ScaleShiftBeforeConvTest : public testing::WithParamInterface<ScaleShiftConvScaleShiftParams>,
public LayerTestsUtils::LayerTestsCommon { public LayerTestsUtils::LayerTestsCommon {
public: public:
static std::string getTestCaseName(testing::TestParamInfo<ScaleShiftConvScaleShiftParams> obj); static std::string getTestCaseName(const testing::TestParamInfo<ScaleShiftConvScaleShiftParams>& obj);
InferenceEngine::Blob::Ptr GenerateInput(const InferenceEngine::InputInfo& info) const override; InferenceEngine::Blob::Ptr GenerateInput(const InferenceEngine::InputInfo& info) const override;
protected: protected:

View File

@ -25,7 +25,7 @@ typedef std::tuple<
class SoftsignTest : public testing::WithParamInterface<softsignParams>, class SoftsignTest : public testing::WithParamInterface<softsignParams>,
public LayerTestsUtils::LayerTestsCommon { public LayerTestsUtils::LayerTestsCommon {
public: public:
static std::string getTestCaseName(testing::TestParamInfo<softsignParams> obj); static std::string getTestCaseName(const testing::TestParamInfo<softsignParams>& obj);
void Run() override; void Run() override;

View File

@ -21,7 +21,7 @@ using SplitConcatMemoryParamsTuple = typename std::tuple<
class SplitConcatMemory : public testing::WithParamInterface<SplitConcatMemoryParamsTuple>, class SplitConcatMemory : public testing::WithParamInterface<SplitConcatMemoryParamsTuple>,
public LayerTestsUtils::LayerTestsCommon { public LayerTestsUtils::LayerTestsCommon {
public: public:
static std::string getTestCaseName(testing::TestParamInfo<ParamType> obj); static std::string getTestCaseName(const testing::TestParamInfo<ParamType>& obj);
protected: protected:
void SetUp() override; void SetUp() override;

View File

@ -33,7 +33,7 @@ typedef std::tuple<
class SplitConvTest : public testing::WithParamInterface<SplitConvParams>, class SplitConvTest : public testing::WithParamInterface<SplitConvParams>,
public LayerTestsUtils::LayerTestsCommon { public LayerTestsUtils::LayerTestsCommon {
public: public:
static std::string getTestCaseName(testing::TestParamInfo<SplitConvParams> obj); static std::string getTestCaseName(const testing::TestParamInfo<SplitConvParams>& obj);
InferenceEngine::Blob::Ptr GenerateInput(const InferenceEngine::InputInfo& info) const override; InferenceEngine::Blob::Ptr GenerateInput(const InferenceEngine::InputInfo& info) const override;
protected: protected:

View File

@ -18,7 +18,7 @@ namespace SubgraphTestsDefinitions {
class SplitConvConcat : public testing::WithParamInterface<LayerTestsUtils::basicParams>, class SplitConvConcat : public testing::WithParamInterface<LayerTestsUtils::basicParams>,
virtual public LayerTestsUtils::LayerTestsCommon { virtual public LayerTestsUtils::LayerTestsCommon {
public: public:
static std::string getTestCaseName(testing::TestParamInfo<LayerTestsUtils::basicParams> obj); static std::string getTestCaseName(const testing::TestParamInfo<LayerTestsUtils::basicParams>& obj);
protected: protected:
void SetUp() override; void SetUp() override;

View File

@ -32,7 +32,7 @@ typedef std::tuple<
class SliceConvTest : public testing::WithParamInterface<SliceConvParams>, class SliceConvTest : public testing::WithParamInterface<SliceConvParams>,
public LayerTestsUtils::LayerTestsCommon { public LayerTestsUtils::LayerTestsCommon {
public: public:
static std::string getTestCaseName(testing::TestParamInfo<SliceConvParams> obj); static std::string getTestCaseName(const testing::TestParamInfo<SliceConvParams>& obj);
InferenceEngine::Blob::Ptr GenerateInput(const InferenceEngine::InputInfo& info) const override; InferenceEngine::Blob::Ptr GenerateInput(const InferenceEngine::InputInfo& info) const override;
protected: protected:

View File

@ -21,7 +21,7 @@ typedef std::tuple<
class TensorNamesTest : public testing::WithParamInterface<constResultParams>, class TensorNamesTest : public testing::WithParamInterface<constResultParams>,
virtual public LayerTestsUtils::LayerTestsCommon { virtual public LayerTestsUtils::LayerTestsCommon {
public: public:
static std::string getTestCaseName(testing::TestParamInfo<constResultParams> obj); static std::string getTestCaseName(const testing::TestParamInfo<constResultParams>& obj);
protected: protected:
void SetUp() override; void SetUp() override;
}; };

View File

@ -33,7 +33,7 @@ typedef std::tuple<
class TransposeConvTest : public testing::WithParamInterface<TransposeConvTestParams>, class TransposeConvTest : public testing::WithParamInterface<TransposeConvTestParams>,
virtual public LayerTestsUtils::LayerTestsCommon { virtual public LayerTestsUtils::LayerTestsCommon {
public: public:
static std::string getTestCaseName(testing::TestParamInfo<TransposeConvTestParams> obj); static std::string getTestCaseName(const testing::TestParamInfo<TransposeConvTestParams>& obj);
protected: protected:
void SetUp() override; void SetUp() override;

View File

@ -37,7 +37,7 @@ typedef std::tuple<
class FakeQuantizeSubgraphTest : public testing::WithParamInterface<fqSubgraphTestParamsSet>, class FakeQuantizeSubgraphTest : public testing::WithParamInterface<fqSubgraphTestParamsSet>,
virtual public LayerTestsUtils::LayerTestsCommon { virtual public LayerTestsUtils::LayerTestsCommon {
public: public:
static std::string getTestCaseName(testing::TestParamInfo<fqSubgraphTestParamsSet> obj); static std::string getTestCaseName(const testing::TestParamInfo<fqSubgraphTestParamsSet>& obj);
protected: protected:
void SetUp() override; void SetUp() override;

View File

@ -10,7 +10,7 @@ namespace SubgraphTestsDefinitions {
using namespace CommonTestUtils; using namespace CommonTestUtils;
using namespace InferenceEngine; using namespace InferenceEngine;
std::string ActivationConcatsEltwise::getTestCaseName(testing::TestParamInfo<ParamType> obj) { std::string ActivationConcatsEltwise::getTestCaseName(const testing::TestParamInfo<ParamType>& obj) {
InferenceEngine::Precision netPrecision; InferenceEngine::Precision netPrecision;
size_t inputSize; size_t inputSize;
size_t concatSize; size_t concatSize;

View File

@ -7,7 +7,7 @@
namespace SubgraphTestsDefinitions { namespace SubgraphTestsDefinitions {
std::string ActivationFakeQuantizeSubgraphTest::getTestCaseName(testing::TestParamInfo<fqSubgraphTestParamsSet> obj) { std::string ActivationFakeQuantizeSubgraphTest::getTestCaseName(const testing::TestParamInfo<fqSubgraphTestParamsSet>& obj) {
fqSpecificParams fqParams; fqSpecificParams fqParams;
ngraph::helpers::ActivationTypes activationType; ngraph::helpers::ActivationTypes activationType;
InferenceEngine::Precision netPrecision; InferenceEngine::Precision netPrecision;

View File

@ -9,7 +9,7 @@
namespace SubgraphTestsDefinitions { namespace SubgraphTestsDefinitions {
std::string Basic_LSTM_S::getTestCaseName(testing::TestParamInfo<basicLstmParams> obj) { std::string Basic_LSTM_S::getTestCaseName(const testing::TestParamInfo<basicLstmParams>& obj) {
InferenceEngine::Precision netPrecision; InferenceEngine::Precision netPrecision;
InferenceEngine::SizeVector inputShapes, newInputShapes; InferenceEngine::SizeVector inputShapes, newInputShapes;
std::string targetDevice; std::string targetDevice;

View File

@ -5,7 +5,7 @@
#include "shared_test_classes/subgraph/broadcast_power.hpp" #include "shared_test_classes/subgraph/broadcast_power.hpp"
namespace SubgraphTestsDefinitions { namespace SubgraphTestsDefinitions {
std::string BroadcastPowerTest::getTestCaseName(testing::TestParamInfo<BroadCastPowerTuple> obj) { std::string BroadcastPowerTest::getTestCaseName(const testing::TestParamInfo<BroadCastPowerTuple>& obj) {
InferenceEngine::Precision netPrecision; InferenceEngine::Precision netPrecision;
std::string targetDevice; std::string targetDevice;
std::map<std::string, std::string> configuration; std::map<std::string, std::string> configuration;

View File

@ -7,7 +7,7 @@
namespace SubgraphTestsDefinitions { namespace SubgraphTestsDefinitions {
std::string ClampFakeQuantizeSubgraphTest::getTestCaseName(testing::TestParamInfo<fqSubgraphTestParamsSet> obj) { std::string ClampFakeQuantizeSubgraphTest::getTestCaseName(const testing::TestParamInfo<fqSubgraphTestParamsSet>& obj) {
fqSpecificParams fqParams; fqSpecificParams fqParams;
InferenceEngine::Precision netPrecision; InferenceEngine::Precision netPrecision;
InferenceEngine::Precision inPrc, outPrc; InferenceEngine::Precision inPrc, outPrc;

View File

@ -7,7 +7,7 @@
namespace SubgraphTestsDefinitions { namespace SubgraphTestsDefinitions {
std::string ConcatConvTest::getTestCaseName(testing::TestParamInfo<ConcatConvParams> obj) { std::string ConcatConvTest::getTestCaseName(const testing::TestParamInfo<ConcatConvParams>& obj) {
InferenceEngine::Precision netPrecision; InferenceEngine::Precision netPrecision;
std::string targetDevice; std::string targetDevice;
std::map<std::string, std::string> configuration; std::map<std::string, std::string> configuration;

View File

@ -6,7 +6,7 @@
namespace SubgraphTestsDefinitions { namespace SubgraphTestsDefinitions {
std::string ConcatMultiInput::getTestCaseName(testing::TestParamInfo<concatMultiParams> obj) { std::string ConcatMultiInput::getTestCaseName(const testing::TestParamInfo<concatMultiParams>& obj) {
std::vector<std::vector<size_t>> inputShapes; std::vector<std::vector<size_t>> inputShapes;
InferenceEngine::Precision netPrecision; InferenceEngine::Precision netPrecision;
std::string targetDevice; std::string targetDevice;

View File

@ -6,7 +6,7 @@
namespace SubgraphTestsDefinitions { namespace SubgraphTestsDefinitions {
std::string ConcatQuantization::getTestCaseName(testing::TestParamInfo<concatQuantizationParams> obj) { std::string ConcatQuantization::getTestCaseName(const testing::TestParamInfo<concatQuantizationParams>& obj) {
InferenceEngine::Precision netPrecision; InferenceEngine::Precision netPrecision;
InferenceEngine::SizeVector inputShapes, newInputShapes; InferenceEngine::SizeVector inputShapes, newInputShapes;
std::string targetDevice; std::string targetDevice;

View File

@ -7,7 +7,7 @@
namespace SubgraphTestsDefinitions { namespace SubgraphTestsDefinitions {
std::string ConstConvConcatTest::getTestCaseName(testing::TestParamInfo<ConstConvConcatParams> obj) { std::string ConstConvConcatTest::getTestCaseName(const testing::TestParamInfo<ConstConvConcatParams>& obj) {
InferenceEngine::Precision netPrecision; InferenceEngine::Precision netPrecision;
std::string targetDevice; std::string targetDevice;
std::map<std::string, std::string> configuration; std::map<std::string, std::string> configuration;

View File

@ -7,7 +7,7 @@
namespace SubgraphTestsDefinitions { namespace SubgraphTestsDefinitions {
std::string ConstStridedSliceConcatTest::getTestCaseName(testing::TestParamInfo<ConstStridedSliceConcatParams> obj) { std::string ConstStridedSliceConcatTest::getTestCaseName(const testing::TestParamInfo<ConstStridedSliceConcatParams>& obj) {
InferenceEngine::Precision netPrecision; InferenceEngine::Precision netPrecision;
std::string targetDevice; std::string targetDevice;
std::map<std::string, std::string> configuration; std::map<std::string, std::string> configuration;

View File

@ -23,7 +23,7 @@ std::ostream& operator<<(std::ostream &os, ConstantSubgraphType type) {
return os; return os;
} }
std::string ConstantResultSubgraphTest::getTestCaseName(testing::TestParamInfo<constResultParams> obj) { std::string ConstantResultSubgraphTest::getTestCaseName(const testing::TestParamInfo<constResultParams>& obj) {
ConstantSubgraphType type; ConstantSubgraphType type;
SizeVector IS; SizeVector IS;
Precision inputPrecision; Precision inputPrecision;
@ -38,7 +38,7 @@ std::string ConstantResultSubgraphTest::getTestCaseName(testing::TestParamInfo<c
return result.str(); return result.str();
} }
void ConstantResultSubgraphTest::createGraph(ConstantSubgraphType type, const SizeVector &inputShape, const Precision &inputPrecision) { void ConstantResultSubgraphTest::createGraph(const ConstantSubgraphType& type, const SizeVector &inputShape, const Precision &inputPrecision) {
auto ngPrc = FuncTestUtils::PrecisionUtils::convertIE2nGraphPrc(inputPrecision); auto ngPrc = FuncTestUtils::PrecisionUtils::convertIE2nGraphPrc(inputPrecision);
ParameterVector params; ParameterVector params;

View File

@ -6,7 +6,7 @@
namespace SubgraphTestsDefinitions { namespace SubgraphTestsDefinitions {
std::string ConvFqEltwiseTest::getTestCaseName(testing::TestParamInfo<ConvFqEltwiseTestParamsSet> obj) { std::string ConvFqEltwiseTest::getTestCaseName(const testing::TestParamInfo<ConvFqEltwiseTestParamsSet>& obj) {
FqSpecificParams fqParams; FqSpecificParams fqParams;
ConvParams convParams; ConvParams convParams;
InferenceEngine::Precision netPrecision; InferenceEngine::Precision netPrecision;

View File

@ -6,7 +6,7 @@
namespace SubgraphTestsDefinitions { namespace SubgraphTestsDefinitions {
std::string ConvFqReluTest::getTestCaseName(testing::TestParamInfo<ConvFqReluTestParamsSet> obj) { std::string ConvFqReluTest::getTestCaseName(const testing::TestParamInfo<ConvFqReluTestParamsSet>& obj) {
FqSpecificParams fqParams; FqSpecificParams fqParams;
ConvParams convParams; ConvParams convParams;
InferenceEngine::Precision netPrecision; InferenceEngine::Precision netPrecision;

View File

@ -6,7 +6,7 @@
namespace SubgraphTestsDefinitions { namespace SubgraphTestsDefinitions {
std::string ConvolutionReluSequenceTest::getTestCaseName(testing::TestParamInfo<convReluSequenceTestParamsSet> obj) { std::string ConvolutionReluSequenceTest::getTestCaseName(const testing::TestParamInfo<convReluSequenceTestParamsSet>& obj) {
convReluSpecificParamsAll convParamsAll; convReluSpecificParamsAll convParamsAll;
InferenceEngine::Precision netPrecision; InferenceEngine::Precision netPrecision;
InferenceEngine::Precision inPrc, outPrc; InferenceEngine::Precision inPrc, outPrc;

View File

@ -168,7 +168,7 @@ void EltwiseBeforeConvTest::SetUp() {
function = std::make_shared<ngraph::Function>(reshape2, params, "EltwiseBeforeConvTest"); function = std::make_shared<ngraph::Function>(reshape2, params, "EltwiseBeforeConvTest");
} }
std::string EltwiseWithTwoConvsAsInputsTest::getTestCaseName(testing::TestParamInfo<EltwiseConvEltwiseParams> obj) { std::string EltwiseWithTwoConvsAsInputsTest::getTestCaseName(const testing::TestParamInfo<EltwiseConvEltwiseParams>& obj) {
InferenceEngine::Precision netPrecision; InferenceEngine::Precision netPrecision;
std::string targetDevice; std::string targetDevice;
std::map<std::string, std::string> configuration; std::map<std::string, std::string> configuration;

View File

@ -9,7 +9,7 @@ namespace SubgraphTestsDefinitions {
using namespace CommonTestUtils; using namespace CommonTestUtils;
using namespace InferenceEngine; using namespace InferenceEngine;
std::string EltwiseReshapeActivation::getTestCaseName(testing::TestParamInfo<ParamType> obj) { std::string EltwiseReshapeActivation::getTestCaseName(const testing::TestParamInfo<ParamType>& obj) {
InferenceEngine::Precision netPrecision; InferenceEngine::Precision netPrecision;
std::vector<std::vector<size_t>> shapes; std::vector<std::vector<size_t>> shapes;
std::string targetDevice; std::string targetDevice;

View File

@ -7,7 +7,7 @@
namespace SubgraphTestsDefinitions { namespace SubgraphTestsDefinitions {
std::string FcAfterConvTest::getTestCaseName(testing::TestParamInfo<FcConvFcParams> obj) { std::string FcAfterConvTest::getTestCaseName(const testing::TestParamInfo<FcConvFcParams>& obj) {
InferenceEngine::Precision netPrecision; InferenceEngine::Precision netPrecision;
std::string targetDevice; std::string targetDevice;
std::map<std::string, std::string> configuration; std::map<std::string, std::string> configuration;
@ -87,7 +87,7 @@ void FcAfterConvTest::SetUp() {
function = std::make_shared<ngraph::Function>(fc4, params, "FcAfterConvTest"); function = std::make_shared<ngraph::Function>(fc4, params, "FcAfterConvTest");
} }
std::string FcBeforeConvTest::getTestCaseName(testing::TestParamInfo<FcConvFcParams> obj) { std::string FcBeforeConvTest::getTestCaseName(const testing::TestParamInfo<FcConvFcParams>& obj) {
InferenceEngine::Precision netPrecision; InferenceEngine::Precision netPrecision;
std::string targetDevice; std::string targetDevice;
std::map<std::string, std::string> configuration; std::map<std::string, std::string> configuration;
@ -166,7 +166,7 @@ void FcBeforeConvTest::SetUp() {
function = std::make_shared<ngraph::Function>(reshape2, params, "FcBeforeConvTest"); function = std::make_shared<ngraph::Function>(reshape2, params, "FcBeforeConvTest");
} }
std::string FcBetweenConvsTest::getTestCaseName(testing::TestParamInfo<FcConvFcParams> obj) { std::string FcBetweenConvsTest::getTestCaseName(const testing::TestParamInfo<FcConvFcParams>& obj) {
InferenceEngine::Precision netPrecision; InferenceEngine::Precision netPrecision;
std::string targetDevice; std::string targetDevice;
std::map<std::string, std::string> configuration; std::map<std::string, std::string> configuration;

View File

@ -7,7 +7,7 @@
namespace SubgraphTestsDefinitions { namespace SubgraphTestsDefinitions {
std::string ConcatFirstInputTest::getTestCaseName(testing::TestParamInfo<concatFirstInputParams> obj) { std::string ConcatFirstInputTest::getTestCaseName(const testing::TestParamInfo<concatFirstInputParams>& obj) {
std::vector<std::vector<size_t>> inputShapes; std::vector<std::vector<size_t>> inputShapes;
InferenceEngine::Precision netPrecision; InferenceEngine::Precision netPrecision;
std::string targetDevice; std::string targetDevice;

View File

@ -6,7 +6,7 @@
namespace SubgraphTestsDefinitions { namespace SubgraphTestsDefinitions {
std::string FqConvFqAffineTest::getTestCaseName(testing::TestParamInfo<FqConvFqAffineTestParamsSet> obj) { std::string FqConvFqAffineTest::getTestCaseName(const testing::TestParamInfo<FqConvFqAffineTestParamsSet>& obj) {
FqSpecificParams fqParams; FqSpecificParams fqParams;
ConvParams convParams; ConvParams convParams;
bool permute; bool permute;

View File

@ -7,7 +7,7 @@
namespace SubgraphTestsDefinitions { namespace SubgraphTestsDefinitions {
std::string InputConvTest::getTestCaseName(testing::TestParamInfo<inputConvParams> obj) { std::string InputConvTest::getTestCaseName(const testing::TestParamInfo<inputConvParams>& obj) {
InferenceEngine::Precision netPrecision; InferenceEngine::Precision netPrecision;
std::string targetDevice; std::string targetDevice;
std::map<std::string, std::string> configuration; std::map<std::string, std::string> configuration;

View File

@ -7,7 +7,7 @@
namespace SubgraphTestsDefinitions { namespace SubgraphTestsDefinitions {
std::string InputSplitConcatTest::getTestCaseName(testing::TestParamInfo<InputSplitConcatParams> obj) { std::string InputSplitConcatTest::getTestCaseName(const testing::TestParamInfo<InputSplitConcatParams>& obj) {
InferenceEngine::Precision netPrecision; InferenceEngine::Precision netPrecision;
std::string targetDevice; std::string targetDevice;
std::map<std::string, std::string> configuration; std::map<std::string, std::string> configuration;

View File

@ -7,7 +7,7 @@
namespace SubgraphTestsDefinitions { namespace SubgraphTestsDefinitions {
std::string MatmulSqueezeAddTest::getTestCaseName(testing::TestParamInfo<matmulSqueezeAddParams> obj) { std::string MatmulSqueezeAddTest::getTestCaseName(const testing::TestParamInfo<matmulSqueezeAddParams>& obj) {
InferenceEngine::Precision netPrecision; InferenceEngine::Precision netPrecision;
std::vector<size_t> inputShape; std::vector<size_t> inputShape;
std::size_t outputSize; std::size_t outputSize;

View File

@ -6,7 +6,7 @@
namespace SubgraphTestsDefinitions { namespace SubgraphTestsDefinitions {
std::string ParameterResultSubgraphTest::getTestCaseName(testing::TestParamInfo<parameterResultParams> obj) { std::string ParameterResultSubgraphTest::getTestCaseName(const testing::TestParamInfo<parameterResultParams>& obj) {
std::string targetDevice; std::string targetDevice;
std::tie(targetDevice) = obj.param; std::tie(targetDevice) = obj.param;
std::ostringstream result; std::ostringstream result;

View File

@ -9,7 +9,7 @@
namespace SubgraphTestsDefinitions { namespace SubgraphTestsDefinitions {
std::string ParameterShapeOfResultSubgraphTest::getTestCaseName(testing::TestParamInfo<parameterShapeOfResultParams> obj) { std::string ParameterShapeOfResultSubgraphTest::getTestCaseName(const testing::TestParamInfo<parameterShapeOfResultParams>& obj) {
ngraph::element::Type inType; ngraph::element::Type inType;
std::string targetDevice; std::string targetDevice;
std::tie(inType, targetDevice) = obj.param; std::tie(inType, targetDevice) = obj.param;

View File

@ -5,7 +5,7 @@
#include "shared_test_classes/subgraph/perm_conv_perm_concat.hpp" #include "shared_test_classes/subgraph/perm_conv_perm_concat.hpp"
namespace SubgraphTestsDefinitions { namespace SubgraphTestsDefinitions {
std::string PermConvPermConcat::getTestCaseName(testing::TestParamInfo<PermConvPermConcatParams> obj) { std::string PermConvPermConcat::getTestCaseName(const testing::TestParamInfo<PermConvPermConcatParams>& obj) {
InferenceEngine::Precision netPrecision; InferenceEngine::Precision netPrecision;
std::string targetName; std::string targetName;
std::array<size_t, 4> input_shape; std::array<size_t, 4> input_shape;

View File

@ -7,7 +7,7 @@
namespace SubgraphTestsDefinitions { namespace SubgraphTestsDefinitions {
using ngraph::helpers::QuantizationGranularity; using ngraph::helpers::QuantizationGranularity;
std::string QuantConvBackpropDataLayerTest::getTestCaseName(testing::TestParamInfo<quantConvBackpropDataLayerTestParamsSet> obj) { std::string QuantConvBackpropDataLayerTest::getTestCaseName(const testing::TestParamInfo<quantConvBackpropDataLayerTestParamsSet>& obj) {
quantConvBackpropDataSpecificParams groupConvBackpropDataParams; quantConvBackpropDataSpecificParams groupConvBackpropDataParams;
InferenceEngine::Precision netPrecision; InferenceEngine::Precision netPrecision;
InferenceEngine::SizeVector inputShapes; InferenceEngine::SizeVector inputShapes;

View File

@ -8,7 +8,7 @@ using ngraph::helpers::QuantizationGranularity;
namespace SubgraphTestsDefinitions { namespace SubgraphTestsDefinitions {
std::string QuantGroupConvLayerTest::getTestCaseName(testing::TestParamInfo<quantGroupConvLayerTestParamsSet> obj) { std::string QuantGroupConvLayerTest::getTestCaseName(const testing::TestParamInfo<quantGroupConvLayerTestParamsSet>& obj) {
quantGroupConvSpecificParams groupConvParams; quantGroupConvSpecificParams groupConvParams;
InferenceEngine::Precision netPrecision; InferenceEngine::Precision netPrecision;
InferenceEngine::SizeVector inputShapes; InferenceEngine::SizeVector inputShapes;

View File

@ -7,7 +7,7 @@
namespace SubgraphTestsDefinitions { namespace SubgraphTestsDefinitions {
using ngraph::helpers::QuantizationGranularity; using ngraph::helpers::QuantizationGranularity;
std::string QuantGroupConvBackpropDataLayerTest::getTestCaseName(testing::TestParamInfo<quantGroupConvBackpropDataLayerTestParamsSet> obj) { std::string QuantGroupConvBackpropDataLayerTest::getTestCaseName(const testing::TestParamInfo<quantGroupConvBackpropDataLayerTestParamsSet>& obj) {
quantGroupConvBackpropDataSpecificParams groupConvBackpropDataParams; quantGroupConvBackpropDataSpecificParams groupConvBackpropDataParams;
InferenceEngine::Precision netPrecision; InferenceEngine::Precision netPrecision;
InferenceEngine::SizeVector inputShapes; InferenceEngine::SizeVector inputShapes;

View File

@ -8,7 +8,7 @@ namespace SubgraphTestsDefinitions {
// ------------------------------ V0 ------------------------------ // ------------------------------ V0 ------------------------------
std::string RangeAddSubgraphTest::getTestCaseName(testing::TestParamInfo<LayerTestsDefinitions::RangeParams> obj) { std::string RangeAddSubgraphTest::getTestCaseName(const testing::TestParamInfo<LayerTestsDefinitions::RangeParams>& obj) {
InferenceEngine::Precision netPrecision; InferenceEngine::Precision netPrecision;
InferenceEngine::Precision inPrc, outPrc; InferenceEngine::Precision inPrc, outPrc;
InferenceEngine::Layout inLayout, outLayout; InferenceEngine::Layout inLayout, outLayout;
@ -45,7 +45,7 @@ void RangeAddSubgraphTest::SetUp() {
// ------------------------------ V4 ------------------------------ // ------------------------------ V4 ------------------------------
std::string RangeNumpyAddSubgraphTest::getTestCaseName(testing::TestParamInfo<LayerTestsDefinitions::RangeParams> obj) { std::string RangeNumpyAddSubgraphTest::getTestCaseName(const testing::TestParamInfo<LayerTestsDefinitions::RangeParams>& obj) {
InferenceEngine::Precision netPrc; InferenceEngine::Precision netPrc;
InferenceEngine::Precision constPrc; InferenceEngine::Precision constPrc;
InferenceEngine::Precision outPrc; InferenceEngine::Precision outPrc;

View File

@ -6,7 +6,7 @@
namespace SubgraphTestsDefinitions { namespace SubgraphTestsDefinitions {
std::string ReluShapeOfSubgraphTest::getTestCaseName(testing::TestParamInfo<LayerTestsDefinitions::shapeOfParams> obj) { std::string ReluShapeOfSubgraphTest::getTestCaseName(const testing::TestParamInfo<LayerTestsDefinitions::shapeOfParams>& obj) {
InferenceEngine::SizeVector inputShapes; InferenceEngine::SizeVector inputShapes;
InferenceEngine::Precision inputPrecision; InferenceEngine::Precision inputPrecision;
std::string targetDevice; std::string targetDevice;

View File

@ -5,7 +5,7 @@
#include "shared_test_classes/subgraph/reshape_permute_conv_permute_reshape_act.hpp" #include "shared_test_classes/subgraph/reshape_permute_conv_permute_reshape_act.hpp"
namespace SubgraphTestsDefinitions { namespace SubgraphTestsDefinitions {
std::string ConvReshapeAct::getTestCaseName(testing::TestParamInfo<ConvReshapeActParams> obj) { std::string ConvReshapeAct::getTestCaseName(const testing::TestParamInfo<ConvReshapeActParams>& obj) {
InferenceEngine::Precision netPrecision; InferenceEngine::Precision netPrecision;
std::string targetName; std::string targetName;
std::array<size_t, 4> input_shape; std::array<size_t, 4> input_shape;

View File

@ -7,7 +7,7 @@
namespace SubgraphTestsDefinitions { namespace SubgraphTestsDefinitions {
std::string ScaleShiftAfterConvTest::getTestCaseName(testing::TestParamInfo<ScaleShiftConvScaleShiftParams> obj) { std::string ScaleShiftAfterConvTest::getTestCaseName(const testing::TestParamInfo<ScaleShiftConvScaleShiftParams>& obj) {
InferenceEngine::Precision netPrecision; InferenceEngine::Precision netPrecision;
std::string targetDevice; std::string targetDevice;
std::map<std::string, std::string> configuration; std::map<std::string, std::string> configuration;
@ -92,7 +92,7 @@ void ScaleShiftAfterConvTest::SetUp() {
function = std::make_shared<ngraph::Function>(mul, params, "ScaleShiftAfterConvTest"); function = std::make_shared<ngraph::Function>(mul, params, "ScaleShiftAfterConvTest");
} }
std::string ScaleShiftBeforeConvTest::getTestCaseName(testing::TestParamInfo<ScaleShiftConvScaleShiftParams> obj) { std::string ScaleShiftBeforeConvTest::getTestCaseName(const testing::TestParamInfo<ScaleShiftConvScaleShiftParams>& obj) {
InferenceEngine::Precision netPrecision; InferenceEngine::Precision netPrecision;
std::string targetDevice; std::string targetDevice;
std::map<std::string, std::string> configuration; std::map<std::string, std::string> configuration;

View File

@ -8,7 +8,7 @@
namespace SubgraphTestsDefinitions { namespace SubgraphTestsDefinitions {
std::string SoftsignTest::getTestCaseName(testing::TestParamInfo<softsignParams> obj) { std::string SoftsignTest::getTestCaseName(const testing::TestParamInfo<softsignParams>& obj) {
InferenceEngine::Precision netPrecision; InferenceEngine::Precision netPrecision;
std::vector<size_t> inputShape; std::vector<size_t> inputShape;
std::string targetDevice; std::string targetDevice;

View File

@ -10,7 +10,7 @@ namespace SubgraphTestsDefinitions {
using namespace CommonTestUtils; using namespace CommonTestUtils;
using namespace InferenceEngine; using namespace InferenceEngine;
std::string SplitConcatMemory::getTestCaseName(testing::TestParamInfo<ParamType> obj) { std::string SplitConcatMemory::getTestCaseName(const testing::TestParamInfo<ParamType>& obj) {
InferenceEngine::Precision netPrecision; InferenceEngine::Precision netPrecision;
InferenceEngine::SizeVector inputShapes; InferenceEngine::SizeVector inputShapes;
int axis; int axis;

View File

@ -7,7 +7,7 @@
namespace SubgraphTestsDefinitions { namespace SubgraphTestsDefinitions {
std::string SplitConvTest::getTestCaseName(testing::TestParamInfo<SplitConvParams> obj) { std::string SplitConvTest::getTestCaseName(const testing::TestParamInfo<SplitConvParams>& obj) {
InferenceEngine::Precision netPrecision; InferenceEngine::Precision netPrecision;
std::string targetDevice; std::string targetDevice;
std::map<std::string, std::string> configuration; std::map<std::string, std::string> configuration;

View File

@ -6,7 +6,7 @@
namespace SubgraphTestsDefinitions { namespace SubgraphTestsDefinitions {
std::string SplitConvConcat::getTestCaseName(testing::TestParamInfo<LayerTestsUtils::basicParams> obj) { std::string SplitConvConcat::getTestCaseName(const testing::TestParamInfo<LayerTestsUtils::basicParams>& obj) {
InferenceEngine::Precision netPrecision; InferenceEngine::Precision netPrecision;
InferenceEngine::SizeVector inputShapes, newInputShapes; InferenceEngine::SizeVector inputShapes, newInputShapes;
std::string targetDevice; std::string targetDevice;

View File

@ -7,7 +7,7 @@
namespace SubgraphTestsDefinitions { namespace SubgraphTestsDefinitions {
std::string SliceConvTest::getTestCaseName(testing::TestParamInfo<SliceConvParams> obj) { std::string SliceConvTest::getTestCaseName(const testing::TestParamInfo<SliceConvParams>& obj) {
InferenceEngine::Precision netPrecision; InferenceEngine::Precision netPrecision;
std::string targetDevice; std::string targetDevice;
std::map<std::string, std::string> configuration; std::map<std::string, std::string> configuration;

View File

@ -6,7 +6,7 @@
namespace SubgraphTestsDefinitions { namespace SubgraphTestsDefinitions {
std::string TensorNamesTest::getTestCaseName(testing::TestParamInfo<constResultParams> obj) { std::string TensorNamesTest::getTestCaseName(const testing::TestParamInfo<constResultParams>& obj) {
std::string targetDevice; std::string targetDevice;
std::tie(targetDevice) = obj.param; std::tie(targetDevice) = obj.param;
std::ostringstream result; std::ostringstream result;

View File

@ -6,7 +6,7 @@
namespace SubgraphTestsDefinitions { namespace SubgraphTestsDefinitions {
std::string TransposeConvTest::getTestCaseName(testing::TestParamInfo<TransposeConvTestParams> obj) { std::string TransposeConvTest::getTestCaseName(const testing::TestParamInfo<TransposeConvTestParams>& obj) {
ConvParams convParams; ConvParams convParams;
InferenceEngine::Precision netPrecision; InferenceEngine::Precision netPrecision;
InferenceEngine::SizeVector inputShapes; InferenceEngine::SizeVector inputShapes;

View File

@ -6,7 +6,7 @@
namespace SubgraphTestsDefinitions { namespace SubgraphTestsDefinitions {
std::string FakeQuantizeSubgraphTest::getTestCaseName(testing::TestParamInfo<fqSubgraphTestParamsSet> obj) { std::string FakeQuantizeSubgraphTest::getTestCaseName(const testing::TestParamInfo<fqSubgraphTestParamsSet>& obj) {
fqSpecificParams fqParams; fqSpecificParams fqParams;
InferenceEngine::Precision netPrecision; InferenceEngine::Precision netPrecision;
InferenceEngine::Precision inPrc, outPrc; InferenceEngine::Precision inPrc, outPrc;