Commit 93971a53 authored by Dmitry Kurtaev's avatar Dmitry Kurtaev

Exclude Input layer from list of outputs for IE networks

parent 09b3dcb6
......@@ -424,6 +424,8 @@ void InfEngineBackendNet::init(int targetId)
InferenceEngine::OutputsDataMap unconnectedOuts;
for (const auto& l : layers)
{
if (l->type == "Input")
continue;
// Add all outputs.
for (const InferenceEngine::DataPtr& out : l->outData)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment