Skip to content

Commit

Permalink
[luci/export] Clear model data in prepareModelData (#13891)
Browse files Browse the repository at this point in the history
This will clear model data in prepareModelData method.
- this is to clear before second pass

ONE-DCO-1.0-Signed-off-by: SaeHie Park <[email protected]>
  • Loading branch information
seanshpark authored Sep 2, 2024
1 parent 92940c9 commit df118e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions compiler/luci/export/src/CircleTensorExporter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -680,6 +680,8 @@ namespace luci

void prepareModelData(FlatBufferBuilder &builder, SerializedModelData &md)
{
md.clear();

// add one empty buffer
// note: this follows TFLite
// note: there's a comment in tflite fbs file
Expand Down

0 comments on commit df118e3

Please sign in to comment.