diff options
author | Nikhil Raj Arm <nikhil.raj@arm.com> | 2022-07-05 09:29:18 +0000 |
---|---|---|
committer | Nikhil Raj <nikhil.raj@arm.com> | 2022-07-08 15:21:03 +0100 |
commit | f4ccb1f6339a1e9ed573f188e7f14353167b5749 (patch) | |
tree | bb53a449cd42ed919022bd52b9e369a28d5a14d4 /tests/ExecuteNetwork/TfliteExecutor.hpp | |
parent | fd33a698ee3c588aa4064b70b7781ab25ff76f66 (diff) | |
download | armnn-f4ccb1f6339a1e9ed573f188e7f14353167b5749.tar.gz |
Revert "IVGCVSW-6650 Refactor ExecuteNetwork"
This reverts commit 615e06f54a4c4139e81e289991ba4084aa2f69d3.
Reason for revert: <Breaking nightlies and tests>
Change-Id: I06a4a0119463188a653bb749033f78514645bd0c
Diffstat (limited to 'tests/ExecuteNetwork/TfliteExecutor.hpp')
-rw-r--r-- | tests/ExecuteNetwork/TfliteExecutor.hpp | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/tests/ExecuteNetwork/TfliteExecutor.hpp b/tests/ExecuteNetwork/TfliteExecutor.hpp deleted file mode 100644 index 009c79488e..0000000000 --- a/tests/ExecuteNetwork/TfliteExecutor.hpp +++ /dev/null @@ -1,35 +0,0 @@ -// -// Copyright © 2022 Arm Ltd and Contributors. All rights reserved. -// SPDX-License-Identifier: MIT -// -#pragma once - -#include "IExecutor.hpp" -#include "NetworkExecutionUtils/NetworkExecutionUtils.hpp" -#include "ExecuteNetworkProgramOptions.hpp" -#include "armnn/utility/NumericCast.hpp" -#include "armnn/utility/Timer.hpp" - -#include <armnn_delegate.hpp> -#include <DelegateOptions.hpp> - -#include <tensorflow/lite/c/common.h> -#include <tensorflow/lite/interpreter.h> -#include <tensorflow/lite/kernels/register.h> - -using namespace tflite; -class TfLiteExecutor : public IExecutor -{ -public: - TfLiteExecutor(const ExecuteNetworkParams& m_Params); - - std::vector<const void *> Execute() override; - void PrintNetworkInfo() override{}; - void CompareAndPrintResult(std::vector<const void*> otherOutput) override; - -private: - std::unique_ptr<tflite::FlatBufferModel> m_Model; - const ExecuteNetworkParams& m_Params; - std::unique_ptr<Interpreter> m_TfLiteInterpreter; -}; - |