Allow descendants to reuse LayerTestsCommon (#1625)
authorAlexander Perepelkin <alexander.perepelkin@intel.com>
Tue, 4 Aug 2020 15:10:29 +0000 (18:10 +0300)
committerGitHub <noreply@github.com>
Tue, 4 Aug 2020 15:10:29 +0000 (18:10 +0300)
inference-engine/tests/ie_test_utils/functional_test_utils/layer_test_utils.hpp

index a7a8f72095a9e9bb5e8be0f75b09872d680981f7..afd3f4bd18ad6fceb6a676b70654e8b6d26ab153 100644 (file)
@@ -86,8 +86,14 @@ protected:
         return refMode;
     }
 
+    std::shared_ptr<InferenceEngine::Core> getCore() {
+        return core;
+    }
+
     void ConfigurePlugin();
 
+    void ConfigureNetwork() const;
+
     void LoadNetwork();
 
     void Infer();
@@ -111,8 +117,6 @@ protected:
     InferenceEngine::InferRequest inferRequest;
 
 private:
-    void ConfigureNetwork() const;
-
     std::vector<InferenceEngine::Blob::Ptr> GetOutputs();
     std::shared_ptr<InferenceEngine::Core> core;
     RefMode refMode = RefMode::INTERPRETER;