[IE CLDNN] StridedSliceTransformation removed from GPU plugin (#4016)
This commit is contained in:
parent
247606baf6
commit
9371393311
@ -62,6 +62,7 @@
|
||||
|
||||
#include <low_precision/transformer.hpp>
|
||||
#include <low_precision/mat_mul.hpp>
|
||||
#include <low_precision/strided_slice.hpp>
|
||||
|
||||
#include "cldnn_engine.h"
|
||||
#include "cldnn_executable_network.h"
|
||||
@ -286,7 +287,9 @@ InferenceEngine::CNNNetwork clDNNEngine::CloneAndTransformNetwork(const Inferenc
|
||||
LayerTransformation::QuantizedTensorAlignment::None, // quantizedTensorAlignmentOnWeights
|
||||
true); // supportAsymmetricQuantization
|
||||
LowPrecisionTransformer transformer(LowPrecisionTransformer::getAllTransformations(params)
|
||||
.add<MatMulTransformation, ngraph::opset1::MatMul>(LayerTransformation::Params(params).setSupportAsymmetricQuantization(false)));
|
||||
.add<MatMulTransformation, ngraph::opset1::MatMul>(LayerTransformation::Params(params).setSupportAsymmetricQuantization(false))
|
||||
// INT8 StridedSlice not supported
|
||||
.remove<StridedSliceTransformation, ngraph::opset1::StridedSlice>());
|
||||
|
||||
transformer.transform(nGraphFunc);
|
||||
}
|
||||
|
@ -86,7 +86,7 @@ const std::vector<LayerTestsDefinitions::StridedSliceTransformationParam> params
|
||||
}
|
||||
};
|
||||
|
||||
INSTANTIATE_TEST_CASE_P(DISABLED_smoke_LPT, StridedSliceTransformation,
|
||||
INSTANTIATE_TEST_CASE_P(smoke_LPT, StridedSliceTransformation,
|
||||
::testing::Combine(
|
||||
::testing::ValuesIn(netPrecisions),
|
||||
::testing::Values(ngraph::Shape({ 1, 3, 24, 24 })),
|
||||
|
@ -49,5 +49,8 @@ std::vector<std::string> disabledTestPatterns() {
|
||||
R"(.*(smoke_DetectionOutput3In).*)",
|
||||
R"(.*(smoke_DetectionOutput5In).*)",
|
||||
R"(.*(ScatterUpdateLayerTest).*)",
|
||||
|
||||
// INT8 StridedSlice not supported
|
||||
R"(.*(LPT/StridedSliceTransformation).*)",
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user