summaryrefslogtreecommitdiff
path: root/source/application/api/common/include/Model.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/application/api/common/include/Model.hpp')
-rw-r--r--source/application/api/common/include/Model.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/application/api/common/include/Model.hpp b/source/application/api/common/include/Model.hpp
index ed2b4c1..1728e1f 100644
--- a/source/application/api/common/include/Model.hpp
+++ b/source/application/api/common/include/Model.hpp
@@ -1,5 +1,5 @@
/*
- * SPDX-FileCopyrightText: Copyright 2021-2022 Arm Limited and/or its affiliates <open-source-office@arm.com>
+ * SPDX-FileCopyrightText: Copyright 2021-2023 Arm Limited and/or its affiliates <open-source-office@arm.com>
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License");
@@ -134,7 +134,7 @@ namespace app {
private:
const tflite::Model* m_pModel{nullptr}; /* Tflite model pointer. */
- tflite::MicroInterpreter* m_pInterpreter{nullptr}; /* Tflite interpreter. */
+ std::unique_ptr<tflite::MicroInterpreter> m_pInterpreter{nullptr}; /* Tflite interpreter. */
tflite::MicroAllocator* m_pAllocator{nullptr}; /* Tflite micro allocator. */
bool m_inited{false}; /* Indicates whether this object has been initialised. */
const uint8_t* m_modelAddr{nullptr}; /* Model address */