1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/pkg/tflite-micro/patches/0001-fix-build-with-private-descriptor.patch

41 lines
1.4 KiB
Diff

From 4e9723bbedf1317dec204397c6777f90ff76646d Mon Sep 17 00:00:00 2001
From: Alexandre Abadie <alexandre.abadie@inria.fr>
Date: Thu, 7 Apr 2022 17:07:58 +0200
Subject: [PATCH 1/1] fix build with private descriptor
---
tensorflow/lite/micro/memory_planner/greedy_memory_planner.h | 2 --
tensorflow/lite/micro/micro_error_reporter.h | 3 ---
2 files changed, 5 deletions(-)
diff --git a/tensorflow/lite/micro/memory_planner/greedy_memory_planner.h b/tensorflow/lite/micro/memory_planner/greedy_memory_planner.h
index a34f3c5..b8269be 100644
--- a/tensorflow/lite/micro/memory_planner/greedy_memory_planner.h
+++ b/tensorflow/lite/micro/memory_planner/greedy_memory_planner.h
@@ -158,8 +158,6 @@ class GreedyMemoryPlanner : public MicroMemoryPlanner {
// Whether buffers have been added since the last plan was calculated.
bool need_to_calculate_offsets_;
-
- TF_LITE_REMOVE_VIRTUAL_DELETE
};
} // namespace tflite
diff --git a/tensorflow/lite/micro/micro_error_reporter.h b/tensorflow/lite/micro/micro_error_reporter.h
index 0e3b0c3..18a0d89 100644
--- a/tensorflow/lite/micro/micro_error_reporter.h
+++ b/tensorflow/lite/micro/micro_error_reporter.h
@@ -46,9 +46,6 @@ class MicroErrorReporter : public ErrorReporter {
public:
~MicroErrorReporter() override {}
int Report(const char* format, va_list args) override;
-
- private:
- TF_LITE_REMOVE_VIRTUAL_DELETE
};
} // namespace tflite
--
2.32.0