Cnnnetwork add layer (#1124)

* Removed addLayer from public interface

* Convert to CNNNetworkImpl
This commit is contained in:
Ilya Lavrenov
2020-06-29 16:21:48 +03:00
committed by GitHub
parent 62fba3eadf
commit b43d26ab8a
10 changed files with 22 additions and 47 deletions

View File

@@ -105,15 +105,6 @@ public:
*/
virtual size_t layerCount() const noexcept = 0;
/**
* @deprecated Migrate to IR v10 and work with ngraph::Function directly. The method will be removed in 2021.1
* @brief Insert a layer into the network. A user is responsible to connect it to other data elements.
*
* @param layer Const reference to a layer smart pointer
*/
INFERENCE_ENGINE_DEPRECATED("Migrate to IR v10 and work with ngraph::Function directly. The method will be removed in 2021.1")
virtual void addLayer(const CNNLayerPtr& layer) noexcept = 0;
/**
* @brief Adds output to the layer
*