Skip to content

Commit

Permalink
Mark some legacy API as deprecated (openvinotoolkit#17469)
Browse files Browse the repository at this point in the history
* Mark some legacy API as deprecated

* Try to fix some issues

* Fixed some warnings

* Disable deprecation warnings for GNA

* Fixed some warnings

* Disable deprecation errors for all plugins

* Suppress some warnings

* Suppress some warnings

* Suppress deprecated for tests

* Mark all contend as suppressed

* Try to fix extensions

* Suppress more warnings

* Suppress warnings for transformations

* Global suppress of deprecation warnings

* FIxed some warnings

* Fixed comments

* Create macro for deprecation API

* Fixed data tests
  • Loading branch information
ilyachur authored and dood-apo committed Aug 24, 2023
1 parent 5e61e21 commit 3a74395
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions legacy/include/legacy/ie_layers.h
Original file line number Diff line number Diff line change
Expand Up @@ -417,12 +417,11 @@ using CNNLayerPtr = std::shared_ptr<CNNLayer>;
*/
using CNNLayerWeakPtr = std::weak_ptr<CNNLayer>;

IE_SUPPRESS_DEPRECATED_END

CNNLayerWeakPtr& getCreatorLayer(const DataPtr& data);

std::map<std::string, CNNLayerPtr>& getInputTo(const DataPtr& data);
std::map<std::string, CNNLayerPtr>& getInputTo(Data* data);
IE_SUPPRESS_DEPRECATED_END

_IE_SUPPRESS_DEPRECATED_START_MSVC

Expand Down

0 comments on commit 3a74395

Please sign in to comment.