tflite-micro
tflite-micro copied to clipboard
Reduce size of MicroProfiler
The MicroProfiler class has these buffers:
const char* tags_[kMaxEvents];
uint32_t start_ticks_[kMaxEvents];
uint32_t end_ticks_[kMaxEvents];
struct TicksPerTag {
const char* tag;
uint32_t ticks;
};
TicksPerTag total_ticks_per_tag[kMaxEvents];
We need 20 bytes per event, so an instance of MicroProfiler uses 80 KB of RAM, even if the model you're profiling has only a few nodes.
"This issue is being marked as stale due to inactivity. Remove label or comment to prevent closure in 5 days."
#2724 is still open
"This issue is being marked as stale due to inactivity. Remove label or comment to prevent closure in 5 days."
#2724 is still open
"This issue is being marked as stale due to inactivity. Remove label or comment to prevent closure in 5 days."
#2724 is still open
"This issue is being marked as stale due to inactivity. Remove label or comment to prevent closure in 5 days."
"This issue is being closed because it has been marked as stale for 5 days with no further activity."