Modify Load callback interface to pure virtual function
authorInki Dae <inki.dae@samsung.com>
Fri, 28 Feb 2020 05:59:12 +0000 (14:59 +0900)
committerInki Dae <inki.dae@samsung.com>
Tue, 14 Apr 2020 00:42:53 +0000 (09:42 +0900)
Change-Id: I94555409bb13caf4ea4c71ea2ccc40643d77cd51
Signed-off-by: Inki Dae <inki.dae@samsung.com>
include/inference_engine_common.h

index 57e1457..7501744 100755 (executable)
@@ -51,7 +51,7 @@ public:
      * @param[in] model_paths Upper framework should add full path strings needed according to a given model format.
      * @param[in] model_format It indicates what kinds of model file should be passed to a backend engine.
      */
-    virtual int Load(std::vector<std::string> model_paths, inference_model_format_e model_format) { return 0; }
+    virtual int Load(std::vector<std::string> model_paths, inference_model_format_e model_format) = 0;
 
     /**
      * @brief Get input tensor buffers from a given backend engine.