-
Notifications
You must be signed in to change notification settings - Fork 110
/
SparseIndexVector.go
35 lines (28 loc) · 1023 Bytes
/
SparseIndexVector.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
// Code generated by the FlatBuffers compiler. DO NOT EDIT.
package tflite
import "strconv"
type SparseIndexVector byte
const (
SparseIndexVectorNONE SparseIndexVector = 0
SparseIndexVectorInt32Vector SparseIndexVector = 1
SparseIndexVectorUint16Vector SparseIndexVector = 2
SparseIndexVectorUint8Vector SparseIndexVector = 3
)
var EnumNamesSparseIndexVector = map[SparseIndexVector]string{
SparseIndexVectorNONE: "NONE",
SparseIndexVectorInt32Vector: "Int32Vector",
SparseIndexVectorUint16Vector: "Uint16Vector",
SparseIndexVectorUint8Vector: "Uint8Vector",
}
var EnumValuesSparseIndexVector = map[string]SparseIndexVector{
"NONE": SparseIndexVectorNONE,
"Int32Vector": SparseIndexVectorInt32Vector,
"Uint16Vector": SparseIndexVectorUint16Vector,
"Uint8Vector": SparseIndexVectorUint8Vector,
}
func (v SparseIndexVector) String() string {
if s, ok := EnumNamesSparseIndexVector[v]; ok {
return s
}
return "SparseIndexVector(" + strconv.FormatInt(int64(v), 10) + ")"
}