[PATCH] D135739: [MLGO] Force persistency in tflite buffers.
Mircea Trofin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 11 19:33:20 PDT 2022
mtrofin added inline comments.
================
Comment at: llvm/lib/Analysis/TFLiteUtils.cpp:129
+ // explicitly mark our input buffers as persistent to avoid this behavior.
+ for (size_t I = 0; I < Interpreter->inputs().size(); ++I)
+ Interpreter->tensor(I)->allocation_type =
----------------
Move the !Interpreter check before this
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D135739/new/
https://reviews.llvm.org/D135739
More information about the llvm-commits
mailing list