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