Skip to content

Commit

Permalink
Docs api (#4657)
Browse files Browse the repository at this point in the history
* Updated API changes document

* Comment for CVS-49440
  • Loading branch information
ilya-lavrenov authored Mar 9, 2021
1 parent d78577a commit bfe0748
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/IE_DG/API_Changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions inference-engine/include/ie_core.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit bfe0748

Please sign in to comment.