blob: 14178cf8bdd1176b0b54e9574ce4ff81a373bd48 [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 MatrixSetDiagOptions(object):
8 __slots__ = ['_tab']
9
10 @classmethod
erik.andersson@arm.comdd49a722022-08-10 15:26:48 +020011 def GetRootAsMatrixSetDiagOptions(cls, buf, offset):
Tim Hall79d07d22020-04-27 18:20:16 +010012 n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset)
13 x = MatrixSetDiagOptions()
14 x.Init(buf, n + offset)
15 return x
16
Tim Hall79d07d22020-04-27 18:20:16 +010017 # MatrixSetDiagOptions
18 def Init(self, buf, pos):
19 self._tab = flatbuffers.table.Table(buf, pos)
20
erik.andersson@arm.comdd49a722022-08-10 15:26:48 +020021def MatrixSetDiagOptionsStart(builder): builder.StartObject(0)
22def MatrixSetDiagOptionsEnd(builder): return builder.EndObject()