[IE][VPU] Fix scaling preprocessing in myriad plugin (#7769)

This pr fixes scaling preprocessing implementation in MYRIAD plugin
This commit is contained in:
Polina Brzezinskaya 2021-10-15 16:18:56 +03:00 committed by GitHub
parent 2079563e4d
commit 2e4514b4df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View File

@ -111,12 +111,13 @@ void FrontEnd::addPreProcessStages(const Model& model) {
"@after-std-scale");
bindData(newInput, ieData);
auto scale = 1 / preProcess[0]->stdScale;
_stageBuilder->addPowerStage(
model,
input->name() + "@stdScale=" + InferenceEngine::CNNLayer::ie_serialize_float(preProcess[0]->stdScale),
nullptr,
preProcess[0]->stdScale,
scale,
1.0f,
0.0f,
input,

View File

@ -33,9 +33,6 @@ std::vector<std::string> disabledTestPatterns() {
".*ProposalLayerTest.*",
// TODO: Issue 51804
".*InferRequestPreprocessConversionTest.*oPRC=U8.*",
// TODO: Issue: 56556
R"(.*(PreprocessTest).*(SetScalePreProcessSetBlob).*)",
R"(.*(PreprocessTest).*(SetScalePreProcessGetBlob).*)",
// TODO: Issue 54163
R"(.*ActivationLayerTest.*SoftPlus.*)",
// TODO: Issue 54722