diff --git a/docs/IE_DG/API_Changes.md b/docs/IE_DG/API_Changes.md index c23c427e6edf38..f379d6d57909ef 100644 --- a/docs/IE_DG/API_Changes.md +++ b/docs/IE_DG/API_Changes.md @@ -2,6 +2,19 @@ The sections below contain detailed list of changes made to the Inference Engine API in recent releases. +## 2021.3 + +### New API + + * InferenceEngine::InferRequest::Cancel to cancel inference request execution + * InferenceEngine::Layout::HWC to support HWC layout for input or output blobs + * InferenceEngine::Precision::F64 data precision for f64 data type + * InferenceEngine::CNNNetwork::getOVNameForTensor to map frameworks tensor names to OpenVINO internal tensor names + +### Deprecated API + + * InferenceEngine::IVariableState interface is deprecated, use InferenceEngine::VariableState wrapper + ## 2021.2 ### New API diff --git a/inference-engine/include/ie_core.hpp b/inference-engine/include/ie_core.hpp index 41046a2087bfd4..c5197f0a41cf01 100644 --- a/inference-engine/include/ie_core.hpp +++ b/inference-engine/include/ie_core.hpp @@ -85,6 +85,9 @@ class INFERENCE_ENGINE_API_CLASS(Core) { * `InferenceEngine::Core::ReadNetwork(const std::string& model, const Blob::CPtr& weights) const` * function overload which takes a filesystem path to the model. * For ONNX case the second parameter should contain empty blob. + * @note Created InferenceEngine::CNNNetwork object shares the weights with `weights` object. + * So, do not create `weights` on temporary data which can be later freed, since the network + * constant datas become to point to invalid memory. * @return CNNNetwork */ CNNNetwork ReadNetwork(const std::string& model, const Blob::CPtr& weights) const;