Avoid redundant clone and reshape (#1376)

* Avoid redundant clone and reshape

* Removed some constructors

* Fixed output precision
This commit is contained in:
Ilya Churaev
2020-07-29 19:30:59 +03:00
committed by GitHub
parent 2b1fc60435
commit 6c3b7ee8ca
7 changed files with 80 additions and 35 deletions

View File

@@ -51,9 +51,11 @@ public:
/**
* @brief A constructor from ngraph::Function object
* This constructor wraps existing ngraph::Function
* If you want to avoid modification of original Function, please create a copy
* @param network Pointer to the ngraph::Function object
*/
explicit CNNNetwork(const std::shared_ptr<const ngraph::Function>& network);
explicit CNNNetwork(const std::shared_ptr<ngraph::Function>& network);
/**
* @brief A destructor