[PP] Altered preprocessing tests to use existin posprocessing as well (#3554)

changed PreprocessingPrecisionConvertTest:
 - to force output precision to be same as input (and not FP32 always)

changed TEMPLATE plugin to allow U8 outputs
This commit is contained in:
Anton Potapov authored and GitHub committed 2020-12-11 12:49:38 +03:00
1 parent d90c05aab4
commit 8aabcde925
2 files changed
+3 -1

No files matched your search

+2 -1
View File
@@ -92,7 +92,8 @@ InferenceEngine::ExecutableNetworkInternal::Ptr Plugin::LoadExeNetworkImpl(const
auto output_precision = networkOutput.second->getPrecision();
if (output_precision != InferenceEngine::Precision::FP32 &&
output_precision != InferenceEngine::Precision::FP16) {
output_precision != InferenceEngine::Precision::FP16 &&
output_precision != InferenceEngine::Precision::U8) {
THROW_IE_EXCEPTION << "Template device supports only FP16 and FP32 output precision.";
}
}