From bd11b24234d7d43dfe05a81c520aa01ffad06e42 Mon Sep 17 00:00:00 2001 From: Chunseok Lee Date: Tue, 8 Jan 2019 17:36:34 +0900 Subject: Imported Upstream version 0.3 --- tools/tflitefile_tool/tflite/SquareOptions.py | 28 +++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 tools/tflitefile_tool/tflite/SquareOptions.py (limited to 'tools/tflitefile_tool/tflite/SquareOptions.py') diff --git a/tools/tflitefile_tool/tflite/SquareOptions.py b/tools/tflitefile_tool/tflite/SquareOptions.py new file mode 100644 index 000000000..0f9f5af9e --- /dev/null +++ b/tools/tflitefile_tool/tflite/SquareOptions.py @@ -0,0 +1,28 @@ +# automatically generated by the FlatBuffers compiler, do not modify + +# namespace: tflite + +import flatbuffers + + +class SquareOptions(object): + __slots__ = ['_tab'] + + @classmethod + def GetRootAsSquareOptions(cls, buf, offset): + n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset) + x = SquareOptions() + x.Init(buf, n + offset) + return x + + # SquareOptions + def Init(self, buf, pos): + self._tab = flatbuffers.table.Table(buf, pos) + + +def SquareOptionsStart(builder): + builder.StartObject(0) + + +def SquareOptionsEnd(builder): + return builder.EndObject() -- cgit v1.2.3