From c7050f8a9af5a9beccf7ab0702bf1a8b061537eb Mon Sep 17 00:00:00 2001 From: alexander Date: Wed, 19 May 2021 21:48:01 +0100 Subject: MLECO-1920: RunInference method made virtual to be overriden by some use-cases. Change-Id: I431205c66170e81137419719af60bd7d87a3ef5b Signed-off-by: alexander --- source/application/tensorflow-lite-micro/include/Model.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/application/tensorflow-lite-micro/include/Model.hpp b/source/application/tensorflow-lite-micro/include/Model.hpp index 7a0493c..70e17ad 100644 --- a/source/application/tensorflow-lite-micro/include/Model.hpp +++ b/source/application/tensorflow-lite-micro/include/Model.hpp @@ -84,8 +84,8 @@ namespace app { /** @brief Checks if the model uses signed data. */ bool IsDataSigned() const; - /** @brief Runs the inference (invokes the interpreter). */ - bool RunInference(); + /** @brief Runs the inference (invokes the interpreter). */ + virtual bool RunInference(); /** @brief Model information handler common to all models. * @return true or false based on execution success. -- cgit v1.2.1