diff --git a/compiler/luci/export/src/CircleTensorExporter.cpp b/compiler/luci/export/src/CircleTensorExporter.cpp index 1b29a7f97e6..fa585d06e81 100644 --- a/compiler/luci/export/src/CircleTensorExporter.cpp +++ b/compiler/luci/export/src/CircleTensorExporter.cpp @@ -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