* Updated API changes document

* Comment for CVS-49440
This commit is contained in:
Ilya Lavrenov 2021-03-10 14:57:37 +03:00 committed by GitHub
parent 6e490c24e2
commit 95e3a1bf5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 0 deletions

View File

@ -2,6 +2,19 @@
The sections below contain detailed list of changes made to the Inference Engine API in recent releases. 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 ## 2021.2
### New API ### New API

View File

@ -85,6 +85,9 @@ public:
* `InferenceEngine::Core::ReadNetwork(const std::string& model, const Blob::CPtr& weights) const` * `InferenceEngine::Core::ReadNetwork(const std::string& model, const Blob::CPtr& weights) const`
* function overload which takes a filesystem path to the model. * function overload which takes a filesystem path to the model.
* For ONNX case the second parameter should contain empty blob. * 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 * @return CNNNetwork
*/ */
CNNNetwork ReadNetwork(const std::string& model, const Blob::CPtr& weights) const; CNNNetwork ReadNetwork(const std::string& model, const Blob::CPtr& weights) const;