Publishing 2019 R1 content
[platform/upstream/dldt.git] / inference-engine / src / inference_engine / blob_factory.cpp
index 8be9ab9..dbd9eec 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2018 Intel Corporation
+// Copyright (C) 2018-2019 Intel Corporation
 // SPDX-License-Identifier: Apache-2.0
 //
 
@@ -15,6 +15,11 @@ InferenceEngine::Blob::Ptr make_blob_with_precision(const InferenceEngine::Tenso
     return make_blob_with_precision(desc.getPrecision(), desc, ptr);
 }
 
+
+InferenceEngine::Blob::Ptr make_blob_with_precision(const InferenceEngine::TensorDesc& desc, const std::shared_ptr<InferenceEngine::IAllocator>& alloc) {
+    return make_blob_with_precision(desc.getPrecision(), desc, alloc);
+}
+
 InferenceEngine::Layout plain_layout(InferenceEngine::SizeVector dims) {
     int n = dims.size();
     return n == 1 ? InferenceEngine::C    :