-
Notifications
You must be signed in to change notification settings - Fork 4
/
types.pb.go
230 lines (217 loc) · 8.52 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
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: types.proto
package tensorflow
import (
fmt "fmt"
proto "github.com/gogo/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
// 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
DataType_DT_VARIANT DataType = 21
DataType_DT_UINT32 DataType = 22
DataType_DT_UINT64 DataType = 23
// 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
DataType_DT_VARIANT_REF DataType = 121
DataType_DT_UINT32_REF DataType = 122
DataType_DT_UINT64_REF DataType = 123
)
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",
21: "DT_VARIANT",
22: "DT_UINT32",
23: "DT_UINT64",
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",
121: "DT_VARIANT_REF",
122: "DT_UINT32_REF",
123: "DT_UINT64_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_VARIANT": 21,
"DT_UINT32": 22,
"DT_UINT64": 23,
"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,
"DT_VARIANT_REF": 121,
"DT_UINT32_REF": 122,
"DT_UINT64_REF": 123,
}
func (x DataType) String() string {
return proto.EnumName(DataType_name, int32(x))
}
func (DataType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_d938547f84707355, []int{0}
}
func init() {
proto.RegisterEnum("tensorflow.DataType", DataType_name, DataType_value)
}
func init() { proto.RegisterFile("types.proto", fileDescriptor_d938547f84707355) }
var fileDescriptor_d938547f84707355 = []byte{
// 507 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x93, 0xcd, 0x6e, 0xd3, 0x40,
0x10, 0xc7, 0x63, 0x3e, 0xda, 0x74, 0xf3, 0x35, 0xd9, 0xb6, 0xc0, 0xc9, 0x12, 0x57, 0x24, 0x52,
0x39, 0x89, 0xac, 0x5c, 0x9d, 0xda, 0x01, 0x4b, 0xc6, 0x4e, 0xdc, 0x4d, 0x85, 0xb8, 0x58, 0x69,
0xe5, 0xa4, 0x69, 0x9b, 0xda, 0xd8, 0x2e, 0x21, 0xf0, 0x12, 0x3c, 0x07, 0x4f, 0xc2, 0xb1, 0x47,
0x8e, 0x28, 0x79, 0x09, 0x8e, 0x28, 0xe3, 0x49, 0xd7, 0x1c, 0xe7, 0x37, 0x33, 0xff, 0xf9, 0xef,
0x8c, 0x96, 0x55, 0xb2, 0x55, 0x1c, 0xa6, 0xad, 0x38, 0x89, 0xb2, 0x88, 0xb3, 0x2c, 0xbc, 0x4b,
0xa3, 0x64, 0x7a, 0x1b, 0x2d, 0xdf, 0xfc, 0xdc, 0x63, 0x65, 0x73, 0x92, 0x4d, 0xc4, 0x2a, 0x0e,
0x79, 0x9d, 0x31, 0x53, 0x04, 0xb6, 0x7b, 0x6e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