Tim Hall | 79d07d2 | 2020-04-27 18:20:16 +0100 | [diff] [blame] | 1 | # automatically generated by the FlatBuffers compiler, do not modify |
| 2 | |
| 3 | # namespace: tflite |
| 4 | |
| 5 | import flatbuffers |
| 6 | |
| 7 | class SquaredDifferenceOptions(object): |
| 8 | __slots__ = ['_tab'] |
| 9 | |
| 10 | @classmethod |
| 11 | def GetRootAsSquaredDifferenceOptions(cls, buf, offset): |
| 12 | n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset) |
| 13 | x = SquaredDifferenceOptions() |
| 14 | x.Init(buf, n + offset) |
| 15 | return x |
| 16 | |
| 17 | # SquaredDifferenceOptions |
| 18 | def Init(self, buf, pos): |
| 19 | self._tab = flatbuffers.table.Table(buf, pos) |
| 20 | |
| 21 | def SquaredDifferenceOptionsStart(builder): builder.StartObject(0) |
| 22 | def SquaredDifferenceOptionsEnd(builder): return builder.EndObject() |