Publishing 2019 R3 content
[platform/upstream/dldt.git] / inference-engine / src / vpu / graph_transformer / src / frontend / parse_network.cpp
index 24e3814..00f1d0a 100644 (file)
@@ -97,26 +97,11 @@ void IeNetworkParser::checkNetwork(const ie::CNNNetwork& network) {
     for (const auto& netInput : networkInputs) {
         auto inputInfo = netInput.second;
         IE_ASSERT(inputInfo != nullptr);
-
-        auto inputPrecision = inputInfo->getPrecision();
-
-        if (inputPrecision != ie::Precision::U8 &&
-            inputPrecision != ie::Precision::FP16 &&
-            inputPrecision != ie::Precision::FP32) {
-            THROW_IE_EXCEPTION << "[PARAMETER_MISMATCH] Unsupported input precision: " << inputPrecision.name() << "!";
-        }
     }
 
     for (const auto& netOutput : networkOutputs) {
         auto outputData = netOutput.second;
         IE_ASSERT(outputData != nullptr);
-
-        auto outputPrecision = outputData->getPrecision();
-
-        if (outputPrecision != ie::Precision::FP16 &&
-            outputPrecision != ie::Precision::FP32) {
-            THROW_IE_EXCEPTION << "[PARAMETER_MISMATCH] Unsupported output precision: " << outputPrecision.name() << "!";
-        }
     }
 }