/
PowOptions.go
53 lines (42 loc) · 1.08 KB
/
PowOptions.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
// Code generated by the FlatBuffers compiler. DO NOT EDIT.
package tflite
import (
flatbuffers "github.com/google/flatbuffers/go"
)
type PowOptionsT struct {
}
func (t *PowOptionsT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT {
if t == nil { return 0 }
PowOptionsStart(builder)
return PowOptionsEnd(builder)
}
func (rcv *PowOptions) UnPackTo(t *PowOptionsT) {
}
func (rcv *PowOptions) UnPack() *PowOptionsT {
if rcv == nil { return nil }
t := &PowOptionsT{}
rcv.UnPackTo(t)
return t
}
type PowOptions struct {
_tab flatbuffers.Table
}
func GetRootAsPowOptions(buf []byte, offset flatbuffers.UOffsetT) *PowOptions {
n := flatbuffers.GetUOffsetT(buf[offset:])
x := &PowOptions{}
x.Init(buf, n+offset)
return x
}
func (rcv *PowOptions) Init(buf []byte, i flatbuffers.UOffsetT) {
rcv._tab.Bytes = buf
rcv._tab.Pos = i
}
func (rcv *PowOptions) Table() flatbuffers.Table {
return rcv._tab
}
func PowOptionsStart(builder *flatbuffers.Builder) {
builder.StartObject(0)
}
func PowOptionsEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT {
return builder.EndObject()
}