tflite-micro icon indicating copy to clipboard operation
tflite-micro copied to clipboard

feat: add fixed-capacity, statically-allocated type tflite::StaticVector

Open rkuester opened this issue 1 year ago • 1 comments

Add a type, tflite::StaticVector, which behaves like std::vector, but which avoids heap memory allocation.

BUG=#2636

rkuester avatar Jul 25 '24 17:07 rkuester

To my knowledge, we don't have any type like this yet—something that behaves like a std::vector, but can be statically allocated. Am I wrong?

This is used in upcoming PRs.

rkuester avatar Jul 25 '24 17:07 rkuester

These changes required #2648.

rkuester avatar Aug 01 '24 22:08 rkuester