Fix inference pipeline C++ doc: refer to the correct input blob (#14709)

This commit is contained in:
Giovanni Saponaro 2023-01-04 22:20:05 +01:00 committed by GitHub
parent a881ce4999
commit e07bd74f38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,7 +38,7 @@ int main() {
} }
InferenceEngine::Blob::Ptr input_blob2 = infer_request.GetBlob("data2"); InferenceEngine::Blob::Ptr input_blob2 = infer_request.GetBlob("data2");
// fill first blob // fill second blob
InferenceEngine::MemoryBlob::Ptr minput2 = InferenceEngine::as<InferenceEngine::MemoryBlob>(input_blob2); InferenceEngine::MemoryBlob::Ptr minput2 = InferenceEngine::as<InferenceEngine::MemoryBlob>(input_blob2);
if (minput2) { if (minput2) {
// locked memory holder should be alive all time while access to its // locked memory holder should be alive all time while access to its