Imported Upstream version 1.7.0
[platform/core/ml/nnfw.git] / tools / tflitefile_tool / tflite / ZerosLikeOptions.py
1 # automatically generated by the FlatBuffers compiler, do not modify
2
3 # namespace: onert_tflite
4
5 import flatbuffers
6
7
8 class ZerosLikeOptions(object):
9     __slots__ = ['_tab']
10
11     @classmethod
12     def GetRootAsZerosLikeOptions(cls, buf, offset):
13         n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset)
14         x = ZerosLikeOptions()
15         x.Init(buf, n + offset)
16         return x
17
18     # ZerosLikeOptions
19     def Init(self, buf, pos):
20         self._tab = flatbuffers.table.Table(buf, pos)
21
22
23 def ZerosLikeOptionsStart(builder):
24     builder.StartObject(0)
25
26
27 def ZerosLikeOptionsEnd(builder):
28     return builder.EndObject()