MLBEDSW-6425: Update to TensorFlow 2.8
Update the flatbuffers generated code to comply with TensorFlow 2.8
Signed-off-by: Rickard Bolin <rickard.bolin@arm.com>
Change-Id: Ia65325b88745e49dbafa803a38c0ea0e7d0478ba
diff --git a/ethosu/vela/tflite/UniqueOptions.py b/ethosu/vela/tflite/UniqueOptions.py
index 7b21d09..3d0612f 100644
--- a/ethosu/vela/tflite/UniqueOptions.py
+++ b/ethosu/vela/tflite/UniqueOptions.py
@@ -35,12 +35,15 @@
return self._tab.Get(flatbuffers.number_types.Int8Flags, o + self._tab.Pos)
return 2
-def UniqueOptionsStart(builder): builder.StartObject(1)
-def Start(builder):
- return UniqueOptionsStart(builder)
-def UniqueOptionsAddIdxOutType(builder, idxOutType): builder.PrependInt8Slot(0, idxOutType, 2)
-def AddIdxOutType(builder, idxOutType):
- return UniqueOptionsAddIdxOutType(builder, idxOutType)
-def UniqueOptionsEnd(builder): return builder.EndObject()
-def End(builder):
- return UniqueOptionsEnd(builder)
\ No newline at end of file
+def Start(builder): builder.StartObject(1)
+def UniqueOptionsStart(builder):
+ """This method is deprecated. Please switch to Start."""
+ return Start(builder)
+def AddIdxOutType(builder, idxOutType): builder.PrependInt8Slot(0, idxOutType, 2)
+def UniqueOptionsAddIdxOutType(builder, idxOutType):
+ """This method is deprecated. Please switch to AddIdxOutType."""
+ return AddIdxOutType(builder, idxOutType)
+def End(builder): return builder.EndObject()
+def UniqueOptionsEnd(builder):
+ """This method is deprecated. Please switch to End."""
+ return End(builder)
\ No newline at end of file