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