Fixing assert when handling iop, iol and ioml (#13526)

This commit is contained in:
Mario SAVU
2022-10-19 12:14:00 +03:00
committed by GitHub
parent c638171853
commit c9b6d69221

View File

@@ -453,7 +453,7 @@ void configurePrePostProcessing(std::shared_ptr<ov::Model>& model,
}
}
}
OPENVINO_ASSERT(!tensorFound, "Model doesn't have input/output with tensor name: ", tensor_name);
OPENVINO_ASSERT(tensorFound, "Model doesn't have input/output with tensor name: ", tensor_name);
}
}
if (!il.empty()) {
@@ -490,7 +490,7 @@ void configurePrePostProcessing(std::shared_ptr<ov::Model>& model,
}
}
}
OPENVINO_ASSERT(!tensorFound, "Model doesn't have input/output with tensor name: ", tensor_name);
OPENVINO_ASSERT(tensorFound, "Model doesn't have input/output with tensor name: ", tensor_name);
}
}
@@ -528,7 +528,7 @@ void configurePrePostProcessing(std::shared_ptr<ov::Model>& model,
}
}
}
OPENVINO_ASSERT(!tensorFound, "Model doesn't have input/output with tensor name: ", tensor_name);
OPENVINO_ASSERT(tensorFound, "Model doesn't have input/output with tensor name: ", tensor_name);
}
}