tflite.PadOptions module
# automatically generated by the FlatBuffers compiler, do not modify # namespace: tflite import flatbuffers class PadOptions(object): __slots__ = ['_tab'] @classmethod def GetRootAsPadOptions(cls, buf, offset): n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset) x = PadOptions() x.Init(buf, n + offset) return x # PadOptions def Init(self, buf, pos): self._tab = flatbuffers.table.Table(buf, pos) def PadOptionsStart(builder): builder.StartObject(0) def PadOptionsEnd(builder): return builder.EndObject()
Functions
def PadOptionsEnd(
builder)
def PadOptionsEnd(builder): return builder.EndObject()
def PadOptionsStart(
builder)
def PadOptionsStart(builder): builder.StartObject(0)
Classes
class PadOptions
class PadOptions(object): __slots__ = ['_tab'] @classmethod def GetRootAsPadOptions(cls, buf, offset): n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset) x = PadOptions() x.Init(buf, n + offset) return x # PadOptions def Init(self, buf, pos): self._tab = flatbuffers.table.Table(buf, pos)
Ancestors (in MRO)
- PadOptions
- builtins.object
Static methods
def Init(
self, buf, pos)
def Init(self, buf, pos): self._tab = flatbuffers.table.Table(buf, pos)
Methods
def GetRootAsPadOptions(
cls, buf, offset)
@classmethod def GetRootAsPadOptions(cls, buf, offset): n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset) x = PadOptions() x.Init(buf, n + offset) return x