summaryrefslogtreecommitdiff
path: root/tools/tflitefile_tool/tflite/LessOptions.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/tflitefile_tool/tflite/LessOptions.py')
-rw-r--r--tools/tflitefile_tool/tflite/LessOptions.py28
1 files changed, 28 insertions, 0 deletions
diff --git a/tools/tflitefile_tool/tflite/LessOptions.py b/tools/tflitefile_tool/tflite/LessOptions.py
new file mode 100644
index 000000000..a94b37f17
--- /dev/null
+++ b/tools/tflitefile_tool/tflite/LessOptions.py
@@ -0,0 +1,28 @@
+# automatically generated by the FlatBuffers compiler, do not modify
+
+# namespace: tflite
+
+import flatbuffers
+
+
+class LessOptions(object):
+ __slots__ = ['_tab']
+
+ @classmethod
+ def GetRootAsLessOptions(cls, buf, offset):
+ n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset)
+ x = LessOptions()
+ x.Init(buf, n + offset)
+ return x
+
+ # LessOptions
+ def Init(self, buf, pos):
+ self._tab = flatbuffers.table.Table(buf, pos)
+
+
+def LessOptionsStart(builder):
+ builder.StartObject(0)
+
+
+def LessOptionsEnd(builder):
+ return builder.EndObject()