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