blob: 2b81bdd57e0255a4b04a28595e2ae2fa115e9cab [file] [log] [blame]
Tim Hall79d07d22020-04-27 18:20:16 +01001# automatically generated by the FlatBuffers compiler, do not modify
2
3# namespace: tflite
4
5import flatbuffers
6
7class PadV2Options(object):
8 __slots__ = ['_tab']
9
10 @classmethod
11 def GetRootAsPadV2Options(cls, buf, offset):
12 n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset)
13 x = PadV2Options()
14 x.Init(buf, n + offset)
15 return x
16
Dwight Lidman8a12da12021-07-19 13:43:05 +020017 @classmethod
18 def PadV2OptionsBufferHasIdentifier(cls, buf, offset, size_prefixed=False):
19 return flatbuffers.util.BufferHasIdentifier(buf, offset, b"\x54\x46\x4C\x33", size_prefixed=size_prefixed)
20
Tim Hall79d07d22020-04-27 18:20:16 +010021 # PadV2Options
22 def Init(self, buf, pos):
23 self._tab = flatbuffers.table.Table(buf, pos)
24
25def PadV2OptionsStart(builder): builder.StartObject(0)
26def PadV2OptionsEnd(builder): return builder.EndObject()