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