It is inherited by IInferenceEngineVision and IInferenceEngineCommon both.
But relationship of them is changed as inheritant. So i remove unneccessary methods.
Change-Id: I22303fbdea68b2944f9a64fc99fee77a8501d4e9
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Name: inference-engine-tflite
Summary: Tensorflow-Lite based implementation of inference-engine-interface
Version: 0.0.1
-Release: 3
+Release: 4
Group: Multimedia/Libraries
License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
return INFERENCE_ENGINE_ERROR_NONE;
}
-int InferenceTFLite::PrepareInputLayerPassage()
-{
- return INFERENCE_ENGINE_ERROR_NONE;
-}
-
int InferenceTFLite::PrepareInputLayerPassage(inference_input_type_e type)
{
switch (type) {
delete engine;
}
-class IInferenceEngineCommon* EngineCommonInit(std::string protoFile, std::string weightFile,
+class IInferenceEngineCommon* EngineCommonInit(std::string protoFile, std::string weightFile,
std::string userFile)
{
InferenceTFLite *engine = new InferenceTFLite(protoFile, weightFile, userFile);
#define LOG_TAG "INFERENCE_ENGINE_TFLITE"
using namespace InferenceEngineInterface::Vision;
-using namespace InferenceEngineInterface::Common;
namespace InferenceEngineImpl {
namespace TFLiteImpl {
-class InferenceTFLite : public IInferenceEngineVision, public IInferenceEngineCommon {
+class InferenceTFLite : public IInferenceEngineVision {
public:
InferenceTFLite(std::string protoFile,
std::string weightFile,
int CreateInputLayerPassage() override;
- int PrepareInputLayerPassage() override;
-
int PrepareInputLayerPassage(inference_input_type_e type) override;
int Run(cv::Mat tensor) override;