[LPT] [TEST] LayerTransformation test threshold was updated

This commit is contained in:
Edward Shogulin 2020-06-08 22:59:12 +03:00 committed by Alexander Peskov
parent 629ca3a5d8
commit 971811c8c8
2 changed files with 6 additions and 0 deletions

View File

@ -83,6 +83,10 @@ InferenceEngine::Blob::Ptr LayerTransformation::GenerateInput(
return FuncTestUtils::createAndFillBlobConsistently(tensorDesc, hight - low, static_cast<int32_t>(low), 1ul);
}
LayerTransformation::LayerTransformation() {
threshold = 0.05;
}
InferenceEngine::details::LowPrecisionTransformer LayerTransformation::getLowPrecisionTransformer(
const InferenceEngine::details::LayerTransformation::Params& params) const {
InferenceEngine::details::LowPrecisionTransformer transformer(getLowPrecisionTransformations(params));

View File

@ -41,6 +41,8 @@ protected:
const InferenceEngine::TensorDesc& tensorDesc,
const float k = 1.f);
LayerTransformation();
InferenceEngine::details::LowPrecisionTransformations getLowPrecisionTransformations(
const InferenceEngine::details::LayerTransformation::Params& params) const;