mirror of
https://github.com/vee1e/tflite-micro.git
synced 2026-09-05 11:47:56 +00:00
This is the first step to allow offline memory planner. When a MemoryPlanner is not injected at creation time for a MicroAllocator, a default GreedyMemoryPlanner is created from the arena. This change is hence backward compatible at the MicroAllocator api level. The arena usage slightly increase by 80 bytes on linux x86 due to the GreedyMemoryPlanner is moved from stack to the arena in such case. This corresponds to internal cl/395749105 BUG=http://b/199230276 |
||
|---|---|---|
| .. | ||
| BUILD | ||
| greedy_memory_planner.cc | ||
| greedy_memory_planner.h | ||
| greedy_memory_planner_test.cc | ||
| linear_memory_planner.cc | ||
| linear_memory_planner.h | ||
| linear_memory_planner_test.cc | ||
| micro_memory_planner.h | ||