tflite-micro/tensorflow/lite/micro/memory_planner
deqiangc a1f4b8804d
Refactor MicroAllocator such that a MemoryPlanner can be injected into the MicroAllocator (#492)
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
2021-09-09 12:50:24 -07:00
..
BUILD Rename MemoryPlanner to MicroMemoryPlanner (#490) 2021-09-09 00:30:05 +00:00
greedy_memory_planner.cc Refactor MicroAllocator such that a MemoryPlanner can be injected into the MicroAllocator (#492) 2021-09-09 12:50:24 -07:00
greedy_memory_planner.h Refactor MicroAllocator such that a MemoryPlanner can be injected into the MicroAllocator (#492) 2021-09-09 12:50:24 -07:00
greedy_memory_planner_test.cc Refactor MicroAllocator such that a MemoryPlanner can be injected into the MicroAllocator (#492) 2021-09-09 12:50:24 -07:00
linear_memory_planner.cc
linear_memory_planner.h Rename MemoryPlanner to MicroMemoryPlanner (#490) 2021-09-09 00:30:05 +00:00
linear_memory_planner_test.cc
micro_memory_planner.h Refactor MicroAllocator such that a MemoryPlanner can be injected into the MicroAllocator (#492) 2021-09-09 12:50:24 -07:00