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