forked from rai-project/tensorflow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtypes.pb.go
196 lines (186 loc) · 7.24 KB
/
types.pb.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: types.proto
package tensorflow
import proto "github.com/gogo/protobuf/proto"
import fmt "fmt"
import math "math"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// LINT.IfChange
type DataType int32
const (
// Not a legal value for DataType. Used to indicate a DataType field
// has not been set.
DataType_DT_INVALID DataType = 0
// Data types that all computation devices are expected to be
// capable to support.
DataType_DT_FLOAT DataType = 1
DataType_DT_DOUBLE DataType = 2
DataType_DT_INT32 DataType = 3
DataType_DT_UINT8 DataType = 4
DataType_DT_INT16 DataType = 5
DataType_DT_INT8 DataType = 6
DataType_DT_STRING DataType = 7
DataType_DT_COMPLEX64 DataType = 8
DataType_DT_INT64 DataType = 9
DataType_DT_BOOL DataType = 10
DataType_DT_QINT8 DataType = 11
DataType_DT_QUINT8 DataType = 12
DataType_DT_QINT32 DataType = 13
DataType_DT_BFLOAT16 DataType = 14
DataType_DT_QINT16 DataType = 15
DataType_DT_QUINT16 DataType = 16
DataType_DT_UINT16 DataType = 17
DataType_DT_COMPLEX128 DataType = 18
DataType_DT_HALF DataType = 19
DataType_DT_RESOURCE DataType = 20
// Do not use! These are only for parameters. Every enum above
// should have a corresponding value below (verified by types_test).
DataType_DT_FLOAT_REF DataType = 101
DataType_DT_DOUBLE_REF DataType = 102
DataType_DT_INT32_REF DataType = 103
DataType_DT_UINT8_REF DataType = 104
DataType_DT_INT16_REF DataType = 105
DataType_DT_INT8_REF DataType = 106
DataType_DT_STRING_REF DataType = 107
DataType_DT_COMPLEX64_REF DataType = 108
DataType_DT_INT64_REF DataType = 109
DataType_DT_BOOL_REF DataType = 110
DataType_DT_QINT8_REF DataType = 111
DataType_DT_QUINT8_REF DataType = 112
DataType_DT_QINT32_REF DataType = 113
DataType_DT_BFLOAT16_REF DataType = 114
DataType_DT_QINT16_REF DataType = 115
DataType_DT_QUINT16_REF DataType = 116
DataType_DT_UINT16_REF DataType = 117
DataType_DT_COMPLEX128_REF DataType = 118
DataType_DT_HALF_REF DataType = 119
DataType_DT_RESOURCE_REF DataType = 120
)
var DataType_name = map[int32]string{
0: "DT_INVALID",
1: "DT_FLOAT",
2: "DT_DOUBLE",
3: "DT_INT32",
4: "DT_UINT8",
5: "DT_INT16",
6: "DT_INT8",
7: "DT_STRING",
8: "DT_COMPLEX64",
9: "DT_INT64",
10: "DT_BOOL",
11: "DT_QINT8",
12: "DT_QUINT8",
13: "DT_QINT32",
14: "DT_BFLOAT16",
15: "DT_QINT16",
16: "DT_QUINT16",
17: "DT_UINT16",
18: "DT_COMPLEX128",
19: "DT_HALF",
20: "DT_RESOURCE",
101: "DT_FLOAT_REF",
102: "DT_DOUBLE_REF",
103: "DT_INT32_REF",
104: "DT_UINT8_REF",
105: "DT_INT16_REF",
106: "DT_INT8_REF",
107: "DT_STRING_REF",
108: "DT_COMPLEX64_REF",
109: "DT_INT64_REF",
110: "DT_BOOL_REF",
111: "DT_QINT8_REF",
112: "DT_QUINT8_REF",
113: "DT_QINT32_REF",
114: "DT_BFLOAT16_REF",
115: "DT_QINT16_REF",
116: "DT_QUINT16_REF",
117: "DT_UINT16_REF",
118: "DT_COMPLEX128_REF",
119: "DT_HALF_REF",
120: "DT_RESOURCE_REF",
}
var DataType_value = map[string]int32{
"DT_INVALID": 0,
"DT_FLOAT": 1,
"DT_DOUBLE": 2,
"DT_INT32": 3,
"DT_UINT8": 4,
"DT_INT16": 5,
"DT_INT8": 6,
"DT_STRING": 7,
"DT_COMPLEX64": 8,
"DT_INT64": 9,
"DT_BOOL": 10,
"DT_QINT8": 11,
"DT_QUINT8": 12,
"DT_QINT32": 13,
"DT_BFLOAT16": 14,
"DT_QINT16": 15,
"DT_QUINT16": 16,
"DT_UINT16": 17,
"DT_COMPLEX128": 18,
"DT_HALF": 19,
"DT_RESOURCE": 20,
"DT_FLOAT_REF": 101,
"DT_DOUBLE_REF": 102,
"DT_INT32_REF": 103,
"DT_UINT8_REF": 104,
"DT_INT16_REF": 105,
"DT_INT8_REF": 106,
"DT_STRING_REF": 107,
"DT_COMPLEX64_REF": 108,
"DT_INT64_REF": 109,
"DT_BOOL_REF": 110,
"DT_QINT8_REF": 111,
"DT_QUINT8_REF": 112,
"DT_QINT32_REF": 113,
"DT_BFLOAT16_REF": 114,
"DT_QINT16_REF": 115,
"DT_QUINT16_REF": 116,
"DT_UINT16_REF": 117,
"DT_COMPLEX128_REF": 118,
"DT_HALF_REF": 119,
"DT_RESOURCE_REF": 120,
}
func (x DataType) String() string {
return proto.EnumName(DataType_name, int32(x))
}
func (DataType) EnumDescriptor() ([]byte, []int) { return fileDescriptorTypes, []int{0} }
func init() {
proto.RegisterEnum("tensorflow.DataType", DataType_name, DataType_value)
}
func init() { proto.RegisterFile("types.proto", fileDescriptorTypes) }
var fileDescriptorTypes = []byte{
// 437 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x93, 0xcd, 0x6e, 0xd3, 0x50,
0x10, 0x85, 0x6b,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