Skip to content

Commit 409e60b

Browse files
Returned TODO(b/162311891)
1 parent 2f1195b commit 409e60b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tensorflow/lite/micro/micro_allocator.cc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1131,6 +1131,9 @@ TfLiteTensor* MicroAllocator::AllocatePersistentTfLiteTensorInternal() {
11311131
TfLiteStatus MicroAllocator::PopulateTfLiteTensorFromFlatbuffer(
11321132
const Model* model, TfLiteTensor* tensor, int tensor_index,
11331133
int subgraph_idx, bool allocate_temp) {
1134+
// TODO(b/162311891): This method serves as a stub to ensure quantized
1135+
// allocations in the tail can be recorded. Once the interpreter has APIs for
1136+
// accessing buffers on TfLiteEvalTensor this method can be dropped.
11341137
// Validate subgraph and tensor indices before dereferencing FlatBuffer
11351138
// vectors to avoid out-of-bounds access.
11361139
if (subgraph_idx < 0 ||

0 commit comments

Comments
 (0)