update subgraph test classes (#7383)
This commit is contained in:
parent
3afc0342eb
commit
0bc17a2f55
@ -22,7 +22,7 @@ using ActivationConcatsEltwiseParamsTuple = typename std::tuple<
|
||||
class ActivationConcatsEltwise : public testing::WithParamInterface<ActivationConcatsEltwiseParamsTuple>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(testing::TestParamInfo<ParamType> obj);
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<ParamType>& obj);
|
||||
|
||||
protected:
|
||||
void SetUp() override;
|
||||
|
@ -45,7 +45,7 @@ typedef std::tuple<
|
||||
class ActivationFakeQuantizeSubgraphTest : public testing::WithParamInterface<fqSubgraphTestParamsSet>,
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(testing::TestParamInfo<fqSubgraphTestParamsSet> obj);
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<fqSubgraphTestParamsSet>& obj);
|
||||
|
||||
protected:
|
||||
void SetUp() override;
|
||||
|
@ -26,7 +26,7 @@ typedef std::tuple<
|
||||
class Basic_LSTM_S : public testing::WithParamInterface<basicLstmParams>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(testing::TestParamInfo<basicLstmParams> obj);
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<basicLstmParams>& obj);
|
||||
|
||||
void Run() override;
|
||||
static std::shared_ptr<ngraph::Function> GetNetwork(size_t thirdDimOut,
|
||||
|
@ -25,7 +25,7 @@ typedef std::tuple<
|
||||
class BroadcastPowerTest : public testing::WithParamInterface<BroadCastPowerTuple>,
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(testing::TestParamInfo<BroadCastPowerTuple> obj);
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<BroadCastPowerTuple>& obj);
|
||||
|
||||
protected:
|
||||
void SetUp() override;
|
||||
|
@ -35,7 +35,7 @@ typedef std::tuple<
|
||||
class ClampFakeQuantizeSubgraphTest : public testing::WithParamInterface<fqSubgraphTestParamsSet>,
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(testing::TestParamInfo<fqSubgraphTestParamsSet> obj);
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<fqSubgraphTestParamsSet>& obj);
|
||||
|
||||
protected:
|
||||
void SetUp() override;
|
||||
|
@ -33,11 +33,11 @@ typedef std::tuple<
|
||||
class ConcatConvTest : public testing::WithParamInterface<ConcatConvParams>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
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;
|
||||
|
||||
protected:
|
||||
void SetUp() override;
|
||||
};
|
||||
|
||||
} // namespace SubgraphTestsDefinitions
|
||||
} // namespace SubgraphTestsDefinitions
|
||||
|
@ -33,7 +33,7 @@ public:
|
||||
void GenerateStridedSliceModel();
|
||||
void GenerateConstOnlyModel();
|
||||
void GenerateMemoryModel();
|
||||
static std::string getTestCaseName(testing::TestParamInfo<concatMultiParams> obj);
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<concatMultiParams>& obj);
|
||||
|
||||
protected:
|
||||
void SetUp() override;
|
||||
|
@ -24,7 +24,7 @@ typedef std::tuple<
|
||||
class ConcatQuantization : public testing::WithParamInterface<concatQuantizationParams>,
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(testing::TestParamInfo<concatQuantizationParams> obj);
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<concatQuantizationParams>& obj);
|
||||
|
||||
protected:
|
||||
void SetUp() override;
|
||||
|
@ -33,7 +33,7 @@ typedef std::tuple<
|
||||
class ConstConvConcatTest : public testing::WithParamInterface<ConstConvConcatParams>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
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;
|
||||
|
||||
protected:
|
||||
|
@ -29,7 +29,7 @@ typedef std::tuple<
|
||||
class ConstStridedSliceConcatTest : public testing::WithParamInterface<ConstStridedSliceConcatParams>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
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;
|
||||
|
||||
protected:
|
||||
|
@ -31,8 +31,8 @@ typedef std::tuple <
|
||||
class ConstantResultSubgraphTest : public testing::WithParamInterface<constResultParams>,
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(testing::TestParamInfo<constResultParams> obj);
|
||||
void createGraph(ConstantSubgraphType type, const InferenceEngine::SizeVector &inputShape, const InferenceEngine::Precision &inputPrecision);
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<constResultParams>& obj);
|
||||
void createGraph(const ConstantSubgraphType& type, const InferenceEngine::SizeVector &inputShape, const InferenceEngine::Precision &inputPrecision);
|
||||
protected:
|
||||
void SetUp() override;
|
||||
};
|
||||
|
@ -39,7 +39,7 @@ typedef std::tuple<
|
||||
class ConvFqEltwiseTest : public testing::WithParamInterface<ConvFqEltwiseTestParamsSet>,
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(testing::TestParamInfo<ConvFqEltwiseTestParamsSet> obj);
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<ConvFqEltwiseTestParamsSet>& obj);
|
||||
|
||||
protected:
|
||||
void SetUp() override;
|
||||
|
@ -39,7 +39,7 @@ typedef std::tuple<
|
||||
class ConvFqReluTest : public testing::WithParamInterface<ConvFqReluTestParamsSet>,
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(testing::TestParamInfo<ConvFqReluTestParamsSet> obj);
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<ConvFqReluTestParamsSet>& obj);
|
||||
|
||||
protected:
|
||||
void SetUp() override;
|
||||
|
@ -43,7 +43,7 @@ typedef std::tuple<
|
||||
class ConvolutionReluSequenceTest : public testing::WithParamInterface<convReluSequenceTestParamsSet>,
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(testing::TestParamInfo<convReluSequenceTestParamsSet> obj);
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<convReluSequenceTestParamsSet>& obj);
|
||||
|
||||
protected:
|
||||
void SetUp() override;
|
||||
|
@ -53,11 +53,11 @@ protected:
|
||||
class EltwiseWithTwoConvsAsInputsTest : public testing::WithParamInterface<EltwiseConvEltwiseParams>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
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;
|
||||
|
||||
protected:
|
||||
void SetUp() override;
|
||||
};
|
||||
|
||||
} // namespace SubgraphTestsDefinitions
|
||||
} // namespace SubgraphTestsDefinitions
|
||||
|
@ -20,7 +20,7 @@ using EltwiseReshapeActivationParams = typename std::tuple<
|
||||
class EltwiseReshapeActivation : public testing::WithParamInterface<EltwiseReshapeActivationParams>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(testing::TestParamInfo<ParamType> obj);
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<ParamType>& obj);
|
||||
|
||||
protected:
|
||||
void SetUp() override;
|
||||
|
@ -33,7 +33,7 @@ typedef std::tuple<
|
||||
class FcAfterConvTest : public testing::WithParamInterface<FcConvFcParams>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
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;
|
||||
|
||||
protected:
|
||||
@ -43,7 +43,7 @@ protected:
|
||||
class FcBeforeConvTest : public testing::WithParamInterface<FcConvFcParams>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
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;
|
||||
|
||||
protected:
|
||||
@ -53,7 +53,7 @@ protected:
|
||||
class FcBetweenConvsTest : public testing::WithParamInterface<FcConvFcParams>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
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;
|
||||
|
||||
protected:
|
||||
|
@ -25,7 +25,7 @@ typedef std::tuple<
|
||||
class ConcatFirstInputTest : public testing::WithParamInterface<concatFirstInputParams>,
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(testing::TestParamInfo<concatFirstInputParams> obj);
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<concatFirstInputParams>& obj);
|
||||
|
||||
protected:
|
||||
void SetUp() override;
|
||||
|
@ -40,7 +40,7 @@ typedef std::tuple<
|
||||
class FqConvFqAffineTest : public testing::WithParamInterface<FqConvFqAffineTestParamsSet>,
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(testing::TestParamInfo<FqConvFqAffineTestParamsSet> obj);
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<FqConvFqAffineTestParamsSet>& obj);
|
||||
|
||||
protected:
|
||||
void SetUp() override;
|
||||
|
@ -33,7 +33,7 @@ typedef std::tuple<
|
||||
class InputConvTest : public testing::WithParamInterface<inputConvParams>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
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;
|
||||
|
||||
protected:
|
||||
|
@ -25,7 +25,7 @@ typedef std::tuple<
|
||||
class InputSplitConcatTest : public testing::WithParamInterface<InputSplitConcatParams>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(testing::TestParamInfo<InputSplitConcatParams> obj);
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<InputSplitConcatParams>& obj);
|
||||
|
||||
protected:
|
||||
void SetUp() override;
|
||||
|
@ -26,7 +26,7 @@ typedef std::tuple<
|
||||
class MatmulSqueezeAddTest : public testing::WithParamInterface<matmulSqueezeAddParams>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(testing::TestParamInfo<matmulSqueezeAddParams> obj);
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<matmulSqueezeAddParams>& obj);
|
||||
|
||||
protected:
|
||||
void SetUp() override;
|
||||
|
@ -21,7 +21,7 @@ typedef std::tuple<
|
||||
class ParameterResultSubgraphTest : public testing::WithParamInterface<parameterResultParams>,
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(testing::TestParamInfo<parameterResultParams> obj);
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<parameterResultParams>& obj);
|
||||
protected:
|
||||
void SetUp() override;
|
||||
};
|
||||
|
@ -22,7 +22,7 @@ typedef std::tuple<
|
||||
class ParameterShapeOfResultSubgraphTest : public testing::WithParamInterface<parameterShapeOfResultParams>,
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(testing::TestParamInfo<parameterShapeOfResultParams> obj);
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<parameterShapeOfResultParams>& obj);
|
||||
protected:
|
||||
void SetUp() override;
|
||||
};
|
||||
|
@ -27,7 +27,7 @@ typedef std::tuple<
|
||||
class PermConvPermConcat : public testing::WithParamInterface<PermConvPermConcatParams>,
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(testing::TestParamInfo<PermConvPermConcatParams> obj);
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<PermConvPermConcatParams>& obj);
|
||||
|
||||
protected:
|
||||
void SetUp() override;
|
||||
|
@ -34,10 +34,10 @@ typedef std::tuple<
|
||||
class QuantConvBackpropDataLayerTest : public testing::WithParamInterface<quantConvBackpropDataLayerTestParamsSet>,
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(testing::TestParamInfo<quantConvBackpropDataLayerTestParamsSet> obj);
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<quantConvBackpropDataLayerTestParamsSet>& obj);
|
||||
|
||||
protected:
|
||||
void SetUp() override;
|
||||
};
|
||||
|
||||
} // namespace SubgraphTestsDefinitions
|
||||
} // namespace SubgraphTestsDefinitions
|
||||
|
@ -35,10 +35,10 @@ typedef std::tuple<
|
||||
class QuantGroupConvLayerTest : public testing::WithParamInterface<quantGroupConvLayerTestParamsSet>,
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(testing::TestParamInfo<quantGroupConvLayerTestParamsSet> obj);
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<quantGroupConvLayerTestParamsSet>& obj);
|
||||
|
||||
protected:
|
||||
void SetUp() override;
|
||||
};
|
||||
|
||||
} // namespace SubgraphTestsDefinitions
|
||||
} // namespace SubgraphTestsDefinitions
|
||||
|
@ -35,10 +35,10 @@ typedef std::tuple<
|
||||
class QuantGroupConvBackpropDataLayerTest : public testing::WithParamInterface<quantGroupConvBackpropDataLayerTestParamsSet>,
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(testing::TestParamInfo<quantGroupConvBackpropDataLayerTestParamsSet> obj);
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<quantGroupConvBackpropDataLayerTestParamsSet>& obj);
|
||||
|
||||
protected:
|
||||
void SetUp() override;
|
||||
};
|
||||
|
||||
} // namespace SubgraphTestsDefinitions
|
||||
} // namespace SubgraphTestsDefinitions
|
||||
|
@ -21,7 +21,7 @@ namespace SubgraphTestsDefinitions {
|
||||
class RangeAddSubgraphTest : public testing::WithParamInterface<LayerTestsDefinitions::RangeParams>,
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(testing::TestParamInfo<LayerTestsDefinitions::RangeParams> obj);
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<LayerTestsDefinitions::RangeParams>& obj);
|
||||
protected:
|
||||
void SetUp() override;
|
||||
};
|
||||
@ -31,7 +31,7 @@ protected:
|
||||
class RangeNumpyAddSubgraphTest : public testing::WithParamInterface<LayerTestsDefinitions::RangeParams>,
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(testing::TestParamInfo<LayerTestsDefinitions::RangeParams> obj);
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<LayerTestsDefinitions::RangeParams>& obj);
|
||||
protected:
|
||||
void SetUp() override;
|
||||
};
|
||||
|
@ -19,8 +19,8 @@ namespace SubgraphTestsDefinitions {
|
||||
class ReluShapeOfSubgraphTest : public testing::WithParamInterface<LayerTestsDefinitions::shapeOfParams>,
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(testing::TestParamInfo<LayerTestsDefinitions::shapeOfParams> obj);
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<LayerTestsDefinitions::shapeOfParams>& obj);
|
||||
protected:
|
||||
void SetUp() override;
|
||||
};
|
||||
} // namespace SubgraphTestsDefinitions
|
||||
} // namespace SubgraphTestsDefinitions
|
||||
|
@ -27,7 +27,7 @@ namespace SubgraphTestsDefinitions {
|
||||
class ConvReshapeAct : public testing::WithParamInterface<ConvReshapeActParams>,
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(testing::TestParamInfo<ConvReshapeActParams> obj);
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<ConvReshapeActParams>& obj);
|
||||
|
||||
protected:
|
||||
void SetUp() override;
|
||||
|
@ -33,7 +33,7 @@ typedef std::tuple<
|
||||
class ScaleShiftAfterConvTest : public testing::WithParamInterface<ScaleShiftConvScaleShiftParams>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
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;
|
||||
|
||||
protected:
|
||||
@ -43,7 +43,7 @@ protected:
|
||||
class ScaleShiftBeforeConvTest : public testing::WithParamInterface<ScaleShiftConvScaleShiftParams>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
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;
|
||||
|
||||
protected:
|
||||
|
@ -25,7 +25,7 @@ typedef std::tuple<
|
||||
class SoftsignTest : public testing::WithParamInterface<softsignParams>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(testing::TestParamInfo<softsignParams> obj);
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<softsignParams>& obj);
|
||||
|
||||
void Run() override;
|
||||
|
||||
|
@ -21,7 +21,7 @@ using SplitConcatMemoryParamsTuple = typename std::tuple<
|
||||
class SplitConcatMemory : public testing::WithParamInterface<SplitConcatMemoryParamsTuple>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(testing::TestParamInfo<ParamType> obj);
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<ParamType>& obj);
|
||||
|
||||
protected:
|
||||
void SetUp() override;
|
||||
@ -29,4 +29,4 @@ protected:
|
||||
int axis;
|
||||
};
|
||||
|
||||
} // namespace SubgraphTestsDefinitions
|
||||
} // namespace SubgraphTestsDefinitions
|
||||
|
@ -33,11 +33,11 @@ typedef std::tuple<
|
||||
class SplitConvTest : public testing::WithParamInterface<SplitConvParams>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
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;
|
||||
|
||||
protected:
|
||||
void SetUp() override;
|
||||
};
|
||||
|
||||
} // namespace SubgraphTestsDefinitions
|
||||
} // namespace SubgraphTestsDefinitions
|
||||
|
@ -18,10 +18,10 @@ namespace SubgraphTestsDefinitions {
|
||||
class SplitConvConcat : public testing::WithParamInterface<LayerTestsUtils::basicParams>,
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(testing::TestParamInfo<LayerTestsUtils::basicParams> obj);
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<LayerTestsUtils::basicParams>& obj);
|
||||
|
||||
protected:
|
||||
void SetUp() override;
|
||||
};
|
||||
|
||||
} // namespace SubgraphTestsDefinitions
|
||||
} // namespace SubgraphTestsDefinitions
|
||||
|
@ -32,11 +32,11 @@ typedef std::tuple<
|
||||
class SliceConvTest : public testing::WithParamInterface<SliceConvParams>,
|
||||
public LayerTestsUtils::LayerTestsCommon {
|
||||
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;
|
||||
|
||||
protected:
|
||||
void SetUp() override;
|
||||
};
|
||||
|
||||
} // namespace SubgraphTestsDefinitions
|
||||
} // namespace SubgraphTestsDefinitions
|
||||
|
@ -21,7 +21,7 @@ typedef std::tuple<
|
||||
class TensorNamesTest : public testing::WithParamInterface<constResultParams>,
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(testing::TestParamInfo<constResultParams> obj);
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<constResultParams>& obj);
|
||||
protected:
|
||||
void SetUp() override;
|
||||
};
|
||||
|
@ -33,7 +33,7 @@ typedef std::tuple<
|
||||
class TransposeConvTest : public testing::WithParamInterface<TransposeConvTestParams>,
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(testing::TestParamInfo<TransposeConvTestParams> obj);
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<TransposeConvTestParams>& obj);
|
||||
|
||||
protected:
|
||||
void SetUp() override;
|
||||
|
@ -37,7 +37,7 @@ typedef std::tuple<
|
||||
class FakeQuantizeSubgraphTest : public testing::WithParamInterface<fqSubgraphTestParamsSet>,
|
||||
virtual public LayerTestsUtils::LayerTestsCommon {
|
||||
public:
|
||||
static std::string getTestCaseName(testing::TestParamInfo<fqSubgraphTestParamsSet> obj);
|
||||
static std::string getTestCaseName(const testing::TestParamInfo<fqSubgraphTestParamsSet>& obj);
|
||||
|
||||
protected:
|
||||
void SetUp() override;
|
||||
|
@ -10,7 +10,7 @@ namespace SubgraphTestsDefinitions {
|
||||
using namespace CommonTestUtils;
|
||||
using namespace InferenceEngine;
|
||||
|
||||
std::string ActivationConcatsEltwise::getTestCaseName(testing::TestParamInfo<ParamType> obj) {
|
||||
std::string ActivationConcatsEltwise::getTestCaseName(const testing::TestParamInfo<ParamType>& obj) {
|
||||
InferenceEngine::Precision netPrecision;
|
||||
size_t inputSize;
|
||||
size_t concatSize;
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
namespace SubgraphTestsDefinitions {
|
||||
|
||||
std::string ActivationFakeQuantizeSubgraphTest::getTestCaseName(testing::TestParamInfo<fqSubgraphTestParamsSet> obj) {
|
||||
std::string ActivationFakeQuantizeSubgraphTest::getTestCaseName(const testing::TestParamInfo<fqSubgraphTestParamsSet>& obj) {
|
||||
fqSpecificParams fqParams;
|
||||
ngraph::helpers::ActivationTypes activationType;
|
||||
InferenceEngine::Precision netPrecision;
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
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::SizeVector inputShapes, newInputShapes;
|
||||
std::string targetDevice;
|
||||
|
@ -5,7 +5,7 @@
|
||||
#include "shared_test_classes/subgraph/broadcast_power.hpp"
|
||||
|
||||
namespace SubgraphTestsDefinitions {
|
||||
std::string BroadcastPowerTest::getTestCaseName(testing::TestParamInfo<BroadCastPowerTuple> obj) {
|
||||
std::string BroadcastPowerTest::getTestCaseName(const testing::TestParamInfo<BroadCastPowerTuple>& obj) {
|
||||
InferenceEngine::Precision netPrecision;
|
||||
std::string targetDevice;
|
||||
std::map<std::string, std::string> configuration;
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
namespace SubgraphTestsDefinitions {
|
||||
|
||||
std::string ClampFakeQuantizeSubgraphTest::getTestCaseName(testing::TestParamInfo<fqSubgraphTestParamsSet> obj) {
|
||||
std::string ClampFakeQuantizeSubgraphTest::getTestCaseName(const testing::TestParamInfo<fqSubgraphTestParamsSet>& obj) {
|
||||
fqSpecificParams fqParams;
|
||||
InferenceEngine::Precision netPrecision;
|
||||
InferenceEngine::Precision inPrc, outPrc;
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
namespace SubgraphTestsDefinitions {
|
||||
|
||||
std::string ConcatConvTest::getTestCaseName(testing::TestParamInfo<ConcatConvParams> obj) {
|
||||
std::string ConcatConvTest::getTestCaseName(const testing::TestParamInfo<ConcatConvParams>& obj) {
|
||||
InferenceEngine::Precision netPrecision;
|
||||
std::string targetDevice;
|
||||
std::map<std::string, std::string> configuration;
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
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;
|
||||
InferenceEngine::Precision netPrecision;
|
||||
std::string targetDevice;
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
namespace SubgraphTestsDefinitions {
|
||||
|
||||
std::string ConcatQuantization::getTestCaseName(testing::TestParamInfo<concatQuantizationParams> obj) {
|
||||
std::string ConcatQuantization::getTestCaseName(const testing::TestParamInfo<concatQuantizationParams>& obj) {
|
||||
InferenceEngine::Precision netPrecision;
|
||||
InferenceEngine::SizeVector inputShapes, newInputShapes;
|
||||
std::string targetDevice;
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
namespace SubgraphTestsDefinitions {
|
||||
|
||||
std::string ConstConvConcatTest::getTestCaseName(testing::TestParamInfo<ConstConvConcatParams> obj) {
|
||||
std::string ConstConvConcatTest::getTestCaseName(const testing::TestParamInfo<ConstConvConcatParams>& obj) {
|
||||
InferenceEngine::Precision netPrecision;
|
||||
std::string targetDevice;
|
||||
std::map<std::string, std::string> configuration;
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
namespace SubgraphTestsDefinitions {
|
||||
|
||||
std::string ConstStridedSliceConcatTest::getTestCaseName(testing::TestParamInfo<ConstStridedSliceConcatParams> obj) {
|
||||
std::string ConstStridedSliceConcatTest::getTestCaseName(const testing::TestParamInfo<ConstStridedSliceConcatParams>& obj) {
|
||||
InferenceEngine::Precision netPrecision;
|
||||
std::string targetDevice;
|
||||
std::map<std::string, std::string> configuration;
|
||||
|
@ -23,7 +23,7 @@ std::ostream& operator<<(std::ostream &os, ConstantSubgraphType type) {
|
||||
return os;
|
||||
}
|
||||
|
||||
std::string ConstantResultSubgraphTest::getTestCaseName(testing::TestParamInfo<constResultParams> obj) {
|
||||
std::string ConstantResultSubgraphTest::getTestCaseName(const testing::TestParamInfo<constResultParams>& obj) {
|
||||
ConstantSubgraphType type;
|
||||
SizeVector IS;
|
||||
Precision inputPrecision;
|
||||
@ -38,7 +38,7 @@ std::string ConstantResultSubgraphTest::getTestCaseName(testing::TestParamInfo<c
|
||||
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);
|
||||
|
||||
ParameterVector params;
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
namespace SubgraphTestsDefinitions {
|
||||
|
||||
std::string ConvFqEltwiseTest::getTestCaseName(testing::TestParamInfo<ConvFqEltwiseTestParamsSet> obj) {
|
||||
std::string ConvFqEltwiseTest::getTestCaseName(const testing::TestParamInfo<ConvFqEltwiseTestParamsSet>& obj) {
|
||||
FqSpecificParams fqParams;
|
||||
ConvParams convParams;
|
||||
InferenceEngine::Precision netPrecision;
|
||||
@ -114,4 +114,4 @@ InferenceEngine::Blob::Ptr ConvFqEltwiseTest::GenerateInput(const InferenceEngin
|
||||
return FuncTestUtils::createAndFillBlob(info.getTensorDesc(), inputDataMax - inputDataMin, inputDataMin, 1 / inputDataResolution,
|
||||
seed);
|
||||
}
|
||||
} // namespace SubgraphTestsDefinitions
|
||||
} // namespace SubgraphTestsDefinitions
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
namespace SubgraphTestsDefinitions {
|
||||
|
||||
std::string ConvFqReluTest::getTestCaseName(testing::TestParamInfo<ConvFqReluTestParamsSet> obj) {
|
||||
std::string ConvFqReluTest::getTestCaseName(const testing::TestParamInfo<ConvFqReluTestParamsSet>& obj) {
|
||||
FqSpecificParams fqParams;
|
||||
ConvParams convParams;
|
||||
InferenceEngine::Precision netPrecision;
|
||||
@ -113,4 +113,4 @@ InferenceEngine::Blob::Ptr ConvFqReluTest::GenerateInput(const InferenceEngine::
|
||||
return FuncTestUtils::createAndFillBlob(info.getTensorDesc(), inputDataMax - inputDataMin, inputDataMin, 1 / inputDataResolution,
|
||||
seed);
|
||||
}
|
||||
} // namespace SubgraphTestsDefinitions
|
||||
} // namespace SubgraphTestsDefinitions
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
namespace SubgraphTestsDefinitions {
|
||||
|
||||
std::string ConvolutionReluSequenceTest::getTestCaseName(testing::TestParamInfo<convReluSequenceTestParamsSet> obj) {
|
||||
std::string ConvolutionReluSequenceTest::getTestCaseName(const testing::TestParamInfo<convReluSequenceTestParamsSet>& obj) {
|
||||
convReluSpecificParamsAll convParamsAll;
|
||||
InferenceEngine::Precision netPrecision;
|
||||
InferenceEngine::Precision inPrc, outPrc;
|
||||
|
@ -168,7 +168,7 @@ void EltwiseBeforeConvTest::SetUp() {
|
||||
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;
|
||||
std::string targetDevice;
|
||||
std::map<std::string, std::string> configuration;
|
||||
|
@ -9,7 +9,7 @@ namespace SubgraphTestsDefinitions {
|
||||
using namespace CommonTestUtils;
|
||||
using namespace InferenceEngine;
|
||||
|
||||
std::string EltwiseReshapeActivation::getTestCaseName(testing::TestParamInfo<ParamType> obj) {
|
||||
std::string EltwiseReshapeActivation::getTestCaseName(const testing::TestParamInfo<ParamType>& obj) {
|
||||
InferenceEngine::Precision netPrecision;
|
||||
std::vector<std::vector<size_t>> shapes;
|
||||
std::string targetDevice;
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
namespace SubgraphTestsDefinitions {
|
||||
|
||||
std::string FcAfterConvTest::getTestCaseName(testing::TestParamInfo<FcConvFcParams> obj) {
|
||||
std::string FcAfterConvTest::getTestCaseName(const testing::TestParamInfo<FcConvFcParams>& obj) {
|
||||
InferenceEngine::Precision netPrecision;
|
||||
std::string targetDevice;
|
||||
std::map<std::string, std::string> configuration;
|
||||
@ -87,7 +87,7 @@ void FcAfterConvTest::SetUp() {
|
||||
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;
|
||||
std::string targetDevice;
|
||||
std::map<std::string, std::string> configuration;
|
||||
@ -166,7 +166,7 @@ void FcBeforeConvTest::SetUp() {
|
||||
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;
|
||||
std::string targetDevice;
|
||||
std::map<std::string, std::string> configuration;
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
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;
|
||||
InferenceEngine::Precision netPrecision;
|
||||
std::string targetDevice;
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
namespace SubgraphTestsDefinitions {
|
||||
|
||||
std::string FqConvFqAffineTest::getTestCaseName(testing::TestParamInfo<FqConvFqAffineTestParamsSet> obj) {
|
||||
std::string FqConvFqAffineTest::getTestCaseName(const testing::TestParamInfo<FqConvFqAffineTestParamsSet>& obj) {
|
||||
FqSpecificParams fqParams;
|
||||
ConvParams convParams;
|
||||
bool permute;
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
namespace SubgraphTestsDefinitions {
|
||||
|
||||
std::string InputConvTest::getTestCaseName(testing::TestParamInfo<inputConvParams> obj) {
|
||||
std::string InputConvTest::getTestCaseName(const testing::TestParamInfo<inputConvParams>& obj) {
|
||||
InferenceEngine::Precision netPrecision;
|
||||
std::string targetDevice;
|
||||
std::map<std::string, std::string> configuration;
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
namespace SubgraphTestsDefinitions {
|
||||
|
||||
std::string InputSplitConcatTest::getTestCaseName(testing::TestParamInfo<InputSplitConcatParams> obj) {
|
||||
std::string InputSplitConcatTest::getTestCaseName(const testing::TestParamInfo<InputSplitConcatParams>& obj) {
|
||||
InferenceEngine::Precision netPrecision;
|
||||
std::string targetDevice;
|
||||
std::map<std::string, std::string> configuration;
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
namespace SubgraphTestsDefinitions {
|
||||
|
||||
std::string MatmulSqueezeAddTest::getTestCaseName(testing::TestParamInfo<matmulSqueezeAddParams> obj) {
|
||||
std::string MatmulSqueezeAddTest::getTestCaseName(const testing::TestParamInfo<matmulSqueezeAddParams>& obj) {
|
||||
InferenceEngine::Precision netPrecision;
|
||||
std::vector<size_t> inputShape;
|
||||
std::size_t outputSize;
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
namespace SubgraphTestsDefinitions {
|
||||
|
||||
std::string ParameterResultSubgraphTest::getTestCaseName(testing::TestParamInfo<parameterResultParams> obj) {
|
||||
std::string ParameterResultSubgraphTest::getTestCaseName(const testing::TestParamInfo<parameterResultParams>& obj) {
|
||||
std::string targetDevice;
|
||||
std::tie(targetDevice) = obj.param;
|
||||
std::ostringstream result;
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
namespace SubgraphTestsDefinitions {
|
||||
|
||||
std::string ParameterShapeOfResultSubgraphTest::getTestCaseName(testing::TestParamInfo<parameterShapeOfResultParams> obj) {
|
||||
std::string ParameterShapeOfResultSubgraphTest::getTestCaseName(const testing::TestParamInfo<parameterShapeOfResultParams>& obj) {
|
||||
ngraph::element::Type inType;
|
||||
std::string targetDevice;
|
||||
std::tie(inType, targetDevice) = obj.param;
|
||||
|
@ -5,7 +5,7 @@
|
||||
#include "shared_test_classes/subgraph/perm_conv_perm_concat.hpp"
|
||||
|
||||
namespace SubgraphTestsDefinitions {
|
||||
std::string PermConvPermConcat::getTestCaseName(testing::TestParamInfo<PermConvPermConcatParams> obj) {
|
||||
std::string PermConvPermConcat::getTestCaseName(const testing::TestParamInfo<PermConvPermConcatParams>& obj) {
|
||||
InferenceEngine::Precision netPrecision;
|
||||
std::string targetName;
|
||||
std::array<size_t, 4> input_shape;
|
||||
|
@ -7,7 +7,7 @@
|
||||
namespace SubgraphTestsDefinitions {
|
||||
using ngraph::helpers::QuantizationGranularity;
|
||||
|
||||
std::string QuantConvBackpropDataLayerTest::getTestCaseName(testing::TestParamInfo<quantConvBackpropDataLayerTestParamsSet> obj) {
|
||||
std::string QuantConvBackpropDataLayerTest::getTestCaseName(const testing::TestParamInfo<quantConvBackpropDataLayerTestParamsSet>& obj) {
|
||||
quantConvBackpropDataSpecificParams groupConvBackpropDataParams;
|
||||
InferenceEngine::Precision netPrecision;
|
||||
InferenceEngine::SizeVector inputShapes;
|
||||
|
@ -8,7 +8,7 @@ using ngraph::helpers::QuantizationGranularity;
|
||||
|
||||
namespace SubgraphTestsDefinitions {
|
||||
|
||||
std::string QuantGroupConvLayerTest::getTestCaseName(testing::TestParamInfo<quantGroupConvLayerTestParamsSet> obj) {
|
||||
std::string QuantGroupConvLayerTest::getTestCaseName(const testing::TestParamInfo<quantGroupConvLayerTestParamsSet>& obj) {
|
||||
quantGroupConvSpecificParams groupConvParams;
|
||||
InferenceEngine::Precision netPrecision;
|
||||
InferenceEngine::SizeVector inputShapes;
|
||||
|
@ -7,7 +7,7 @@
|
||||
namespace SubgraphTestsDefinitions {
|
||||
using ngraph::helpers::QuantizationGranularity;
|
||||
|
||||
std::string QuantGroupConvBackpropDataLayerTest::getTestCaseName(testing::TestParamInfo<quantGroupConvBackpropDataLayerTestParamsSet> obj) {
|
||||
std::string QuantGroupConvBackpropDataLayerTest::getTestCaseName(const testing::TestParamInfo<quantGroupConvBackpropDataLayerTestParamsSet>& obj) {
|
||||
quantGroupConvBackpropDataSpecificParams groupConvBackpropDataParams;
|
||||
InferenceEngine::Precision netPrecision;
|
||||
InferenceEngine::SizeVector inputShapes;
|
||||
|
@ -8,7 +8,7 @@ namespace SubgraphTestsDefinitions {
|
||||
|
||||
// ------------------------------ 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 inPrc, outPrc;
|
||||
InferenceEngine::Layout inLayout, outLayout;
|
||||
@ -45,7 +45,7 @@ void RangeAddSubgraphTest::SetUp() {
|
||||
|
||||
// ------------------------------ 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 constPrc;
|
||||
InferenceEngine::Precision outPrc;
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
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::Precision inputPrecision;
|
||||
std::string targetDevice;
|
||||
@ -29,4 +29,4 @@ namespace SubgraphTestsDefinitions {
|
||||
const ngraph::ResultVector results{std::make_shared<ngraph::opset3::Result>(shapeOf)};
|
||||
function = std::make_shared<ngraph::Function>(results, param, "ReluShapeOf");
|
||||
}
|
||||
} // namespace SubgraphTestsDefinitions
|
||||
} // namespace SubgraphTestsDefinitions
|
||||
|
@ -5,7 +5,7 @@
|
||||
#include "shared_test_classes/subgraph/reshape_permute_conv_permute_reshape_act.hpp"
|
||||
|
||||
namespace SubgraphTestsDefinitions {
|
||||
std::string ConvReshapeAct::getTestCaseName(testing::TestParamInfo<ConvReshapeActParams> obj) {
|
||||
std::string ConvReshapeAct::getTestCaseName(const testing::TestParamInfo<ConvReshapeActParams>& obj) {
|
||||
InferenceEngine::Precision netPrecision;
|
||||
std::string targetName;
|
||||
std::array<size_t, 4> input_shape;
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
namespace SubgraphTestsDefinitions {
|
||||
|
||||
std::string ScaleShiftAfterConvTest::getTestCaseName(testing::TestParamInfo<ScaleShiftConvScaleShiftParams> obj) {
|
||||
std::string ScaleShiftAfterConvTest::getTestCaseName(const testing::TestParamInfo<ScaleShiftConvScaleShiftParams>& obj) {
|
||||
InferenceEngine::Precision netPrecision;
|
||||
std::string targetDevice;
|
||||
std::map<std::string, std::string> configuration;
|
||||
@ -92,7 +92,7 @@ void ScaleShiftAfterConvTest::SetUp() {
|
||||
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;
|
||||
std::string targetDevice;
|
||||
std::map<std::string, std::string> configuration;
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
namespace SubgraphTestsDefinitions {
|
||||
|
||||
std::string SoftsignTest::getTestCaseName(testing::TestParamInfo<softsignParams> obj) {
|
||||
std::string SoftsignTest::getTestCaseName(const testing::TestParamInfo<softsignParams>& obj) {
|
||||
InferenceEngine::Precision netPrecision;
|
||||
std::vector<size_t> inputShape;
|
||||
std::string targetDevice;
|
||||
|
@ -10,7 +10,7 @@ namespace SubgraphTestsDefinitions {
|
||||
using namespace CommonTestUtils;
|
||||
using namespace InferenceEngine;
|
||||
|
||||
std::string SplitConcatMemory::getTestCaseName(testing::TestParamInfo<ParamType> obj) {
|
||||
std::string SplitConcatMemory::getTestCaseName(const testing::TestParamInfo<ParamType>& obj) {
|
||||
InferenceEngine::Precision netPrecision;
|
||||
InferenceEngine::SizeVector inputShapes;
|
||||
int axis;
|
||||
@ -79,4 +79,4 @@ void SplitConcatMemory::SetUp() {
|
||||
ngraph::ParameterVector {input},
|
||||
"CyclicBuffer4");
|
||||
}
|
||||
} // namespace SubgraphTestsDefinitions
|
||||
} // namespace SubgraphTestsDefinitions
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
namespace SubgraphTestsDefinitions {
|
||||
|
||||
std::string SplitConvTest::getTestCaseName(testing::TestParamInfo<SplitConvParams> obj) {
|
||||
std::string SplitConvTest::getTestCaseName(const testing::TestParamInfo<SplitConvParams>& obj) {
|
||||
InferenceEngine::Precision netPrecision;
|
||||
std::string targetDevice;
|
||||
std::map<std::string, std::string> configuration;
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
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::SizeVector inputShapes, newInputShapes;
|
||||
std::string targetDevice;
|
||||
@ -48,4 +48,4 @@ void SplitConvConcat::SetUp() {
|
||||
function = std::make_shared<ngraph::Function>(results, params, "SplitConvConcat");
|
||||
}
|
||||
|
||||
} // namespace SubgraphTestsDefinitions
|
||||
} // namespace SubgraphTestsDefinitions
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
namespace SubgraphTestsDefinitions {
|
||||
|
||||
std::string SliceConvTest::getTestCaseName(testing::TestParamInfo<SliceConvParams> obj) {
|
||||
std::string SliceConvTest::getTestCaseName(const testing::TestParamInfo<SliceConvParams>& obj) {
|
||||
InferenceEngine::Precision netPrecision;
|
||||
std::string targetDevice;
|
||||
std::map<std::string, std::string> configuration;
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
namespace SubgraphTestsDefinitions {
|
||||
|
||||
std::string TensorNamesTest::getTestCaseName(testing::TestParamInfo<constResultParams> obj) {
|
||||
std::string TensorNamesTest::getTestCaseName(const testing::TestParamInfo<constResultParams>& obj) {
|
||||
std::string targetDevice;
|
||||
std::tie(targetDevice) = obj.param;
|
||||
std::ostringstream result;
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
namespace SubgraphTestsDefinitions {
|
||||
|
||||
std::string TransposeConvTest::getTestCaseName(testing::TestParamInfo<TransposeConvTestParams> obj) {
|
||||
std::string TransposeConvTest::getTestCaseName(const testing::TestParamInfo<TransposeConvTestParams>& obj) {
|
||||
ConvParams convParams;
|
||||
InferenceEngine::Precision netPrecision;
|
||||
InferenceEngine::SizeVector inputShapes;
|
||||
@ -83,4 +83,4 @@ InferenceEngine::Blob::Ptr TransposeConvTest::GenerateInput(const InferenceEngin
|
||||
return FuncTestUtils::createAndFillBlob(info.getTensorDesc(), inputDataMax - inputDataMin, inputDataMin, 1 / inputDataResolution,
|
||||
seed);
|
||||
}
|
||||
} // namespace SubgraphTestsDefinitions
|
||||
} // namespace SubgraphTestsDefinitions
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
namespace SubgraphTestsDefinitions {
|
||||
|
||||
std::string FakeQuantizeSubgraphTest::getTestCaseName(testing::TestParamInfo<fqSubgraphTestParamsSet> obj) {
|
||||
std::string FakeQuantizeSubgraphTest::getTestCaseName(const testing::TestParamInfo<fqSubgraphTestParamsSet>& obj) {
|
||||
fqSpecificParams fqParams;
|
||||
InferenceEngine::Precision netPrecision;
|
||||
InferenceEngine::Precision inPrc, outPrc;
|
||||
|
Loading…
Reference in New Issue
Block a user