1 | // Generated by the protocol buffer compiler. DO NOT EDIT! |
2 | // source: tensorflow/core/protobuf/conv_autotuning.proto |
3 | |
4 | #ifndef GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fprotobuf_2fconv_5fautotuning_2eproto |
5 | #define GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fprotobuf_2fconv_5fautotuning_2eproto |
6 | |
7 | #include <limits> |
8 | #include <string> |
9 | |
10 | #include <google/protobuf/port_def.inc> |
11 | #if PROTOBUF_VERSION < 3009000 |
12 | #error This file was generated by a newer version of protoc which is |
13 | #error incompatible with your Protocol Buffer headers. Please update |
14 | #error your headers. |
15 | #endif |
16 | #if 3009002 < PROTOBUF_MIN_PROTOC_VERSION |
17 | #error This file was generated by an older version of protoc which is |
18 | #error incompatible with your Protocol Buffer headers. Please |
19 | #error regenerate this file with a newer version of protoc. |
20 | #endif |
21 | |
22 | #include <google/protobuf/port_undef.inc> |
23 | #include <google/protobuf/io/coded_stream.h> |
24 | #include <google/protobuf/arena.h> |
25 | #include <google/protobuf/arenastring.h> |
26 | #include <google/protobuf/generated_message_table_driven.h> |
27 | #include <google/protobuf/generated_message_util.h> |
28 | #include <google/protobuf/inlined_string_field.h> |
29 | #include <google/protobuf/metadata.h> |
30 | #include <google/protobuf/generated_message_reflection.h> |
31 | #include <google/protobuf/message.h> |
32 | #include <google/protobuf/repeated_field.h> // IWYU pragma: export |
33 | #include <google/protobuf/extension_set.h> // IWYU pragma: export |
34 | #include <google/protobuf/unknown_field_set.h> |
35 | #include "tensorflow/compiler/xla/stream_executor/dnn.pb.h" |
36 | // @@protoc_insertion_point(includes) |
37 | #include <google/protobuf/port_def.inc> |
38 | #define PROTOBUF_INTERNAL_EXPORT_tensorflow_2fcore_2fprotobuf_2fconv_5fautotuning_2eproto |
39 | PROTOBUF_NAMESPACE_OPEN |
40 | namespace internal { |
41 | class AnyMetadata; |
42 | } // namespace internal |
43 | PROTOBUF_NAMESPACE_CLOSE |
44 | |
45 | // Internal implementation detail -- do not use these members. |
46 | struct TableStruct_tensorflow_2fcore_2fprotobuf_2fconv_5fautotuning_2eproto { |
47 | static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] |
48 | PROTOBUF_SECTION_VARIABLE(protodesc_cold); |
49 | static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] |
50 | PROTOBUF_SECTION_VARIABLE(protodesc_cold); |
51 | static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2] |
52 | PROTOBUF_SECTION_VARIABLE(protodesc_cold); |
53 | static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]; |
54 | static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]; |
55 | static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]; |
56 | }; |
57 | extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_tensorflow_2fcore_2fprotobuf_2fconv_5fautotuning_2eproto; |
58 | namespace tensorflow { |
59 | class ConvolutionProto; |
60 | class ConvolutionProtoDefaultTypeInternal; |
61 | extern ConvolutionProtoDefaultTypeInternal _ConvolutionProto_default_instance_; |
62 | class MatmulProto; |
63 | class MatmulProtoDefaultTypeInternal; |
64 | extern MatmulProtoDefaultTypeInternal _MatmulProto_default_instance_; |
65 | } // namespace tensorflow |
66 | PROTOBUF_NAMESPACE_OPEN |
67 | template<> ::tensorflow::ConvolutionProto* Arena::CreateMaybeMessage<::tensorflow::ConvolutionProto>(Arena*); |
68 | template<> ::tensorflow::MatmulProto* Arena::CreateMaybeMessage<::tensorflow::MatmulProto>(Arena*); |
69 | PROTOBUF_NAMESPACE_CLOSE |
70 | namespace tensorflow { |
71 | |
72 | // =================================================================== |
73 | |
74 | class ConvolutionProto : |
75 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.ConvolutionProto) */ { |
76 | public: |
77 | ConvolutionProto(); |
78 | virtual ~ConvolutionProto(); |
79 | |
80 | ConvolutionProto(const ConvolutionProto& from); |
81 | ConvolutionProto(ConvolutionProto&& from) noexcept |
82 | : ConvolutionProto() { |
83 | *this = ::std::move(from); |
84 | } |
85 | |
86 | inline ConvolutionProto& operator=(const ConvolutionProto& from) { |
87 | CopyFrom(from); |
88 | return *this; |
89 | } |
90 | inline ConvolutionProto& operator=(ConvolutionProto&& from) noexcept { |
91 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
92 | if (this != &from) InternalSwap(&from); |
93 | } else { |
94 | CopyFrom(from); |
95 | } |
96 | return *this; |
97 | } |
98 | |
99 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
100 | return GetDescriptor(); |
101 | } |
102 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
103 | return GetMetadataStatic().descriptor; |
104 | } |
105 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
106 | return GetMetadataStatic().reflection; |
107 | } |
108 | static const ConvolutionProto& default_instance(); |
109 | |
110 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
111 | static inline const ConvolutionProto* internal_default_instance() { |
112 | return reinterpret_cast<const ConvolutionProto*>( |
113 | &_ConvolutionProto_default_instance_); |
114 | } |
115 | static constexpr int kIndexInFileMessages = |
116 | 0; |
117 | |
118 | friend void swap(ConvolutionProto& a, ConvolutionProto& b) { |
119 | a.Swap(&b); |
120 | } |
121 | inline void Swap(ConvolutionProto* other) { |
122 | if (other == this) return; |
123 | InternalSwap(other); |
124 | } |
125 | |
126 | // implements Message ---------------------------------------------- |
127 | |
128 | inline ConvolutionProto* New() const final { |
129 | return CreateMaybeMessage<ConvolutionProto>(nullptr); |
130 | } |
131 | |
132 | ConvolutionProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
133 | return CreateMaybeMessage<ConvolutionProto>(arena); |
134 | } |
135 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
136 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
137 | void CopyFrom(const ConvolutionProto& from); |
138 | void MergeFrom(const ConvolutionProto& from); |
139 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
140 | bool IsInitialized() const final; |
141 | |
142 | size_t ByteSizeLong() const final; |
143 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
144 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
145 | #else |
146 | bool MergePartialFromCodedStream( |
147 | ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final; |
148 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
149 | void SerializeWithCachedSizes( |
150 | ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final; |
151 | ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray( |
152 | ::PROTOBUF_NAMESPACE_ID::uint8* target) const final; |
153 | int GetCachedSize() const final { return _cached_size_.Get(); } |
154 | |
155 | private: |
156 | inline void SharedCtor(); |
157 | inline void SharedDtor(); |
158 | void SetCachedSize(int size) const final; |
159 | void InternalSwap(ConvolutionProto* other); |
160 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
161 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
162 | return "tensorflow.ConvolutionProto" ; |
163 | } |
164 | private: |
165 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
166 | return nullptr; |
167 | } |
168 | inline void* MaybeArenaPtr() const { |
169 | return nullptr; |
170 | } |
171 | public: |
172 | |
173 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
174 | private: |
175 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
176 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fconv_5fautotuning_2eproto); |
177 | return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fconv_5fautotuning_2eproto.file_level_metadata[kIndexInFileMessages]; |
178 | } |
179 | |
180 | public: |
181 | |
182 | // nested types ---------------------------------------------------- |
183 | |
184 | // accessors ------------------------------------------------------- |
185 | |
186 | enum : int { |
187 | kInputFieldNumber = 2, |
188 | kFilterFieldNumber = 3, |
189 | kOutputFieldNumber = 4, |
190 | kConvDescFieldNumber = 5, |
191 | kKindFieldNumber = 1, |
192 | kActivationFieldNumber = 8, |
193 | kConvScaleFieldNumber = 6, |
194 | kSideValueScaleFieldNumber = 7, |
195 | kInputAddressFieldNumber = 9, |
196 | kFilterAddressFieldNumber = 10, |
197 | kOutputAddressFieldNumber = 11, |
198 | kBiasAddressFieldNumber = 12, |
199 | kSideInputAddressFieldNumber = 13, |
200 | }; |
201 | // .stream_executor.dnn.TensorDescriptorProto input = 2; |
202 | bool has_input() const; |
203 | void clear_input(); |
204 | const ::stream_executor::dnn::TensorDescriptorProto& input() const; |
205 | ::stream_executor::dnn::TensorDescriptorProto* release_input(); |
206 | ::stream_executor::dnn::TensorDescriptorProto* mutable_input(); |
207 | void set_allocated_input(::stream_executor::dnn::TensorDescriptorProto* input); |
208 | |
209 | // .stream_executor.dnn.TensorDescriptorProto filter = 3; |
210 | bool has_filter() const; |
211 | void clear_filter(); |
212 | const ::stream_executor::dnn::TensorDescriptorProto& filter() const; |
213 | ::stream_executor::dnn::TensorDescriptorProto* release_filter(); |
214 | ::stream_executor::dnn::TensorDescriptorProto* mutable_filter(); |
215 | void set_allocated_filter(::stream_executor::dnn::TensorDescriptorProto* filter); |
216 | |
217 | // .stream_executor.dnn.TensorDescriptorProto output = 4; |
218 | bool has_output() const; |
219 | void clear_output(); |
220 | const ::stream_executor::dnn::TensorDescriptorProto& output() const; |
221 | ::stream_executor::dnn::TensorDescriptorProto* release_output(); |
222 | ::stream_executor::dnn::TensorDescriptorProto* mutable_output(); |
223 | void set_allocated_output(::stream_executor::dnn::TensorDescriptorProto* output); |
224 | |
225 | // .stream_executor.dnn.ConvolutionDescriptorProto conv_desc = 5; |
226 | bool has_conv_desc() const; |
227 | void clear_conv_desc(); |
228 | const ::stream_executor::dnn::ConvolutionDescriptorProto& conv_desc() const; |
229 | ::stream_executor::dnn::ConvolutionDescriptorProto* release_conv_desc(); |
230 | ::stream_executor::dnn::ConvolutionDescriptorProto* mutable_conv_desc(); |
231 | void set_allocated_conv_desc(::stream_executor::dnn::ConvolutionDescriptorProto* conv_desc); |
232 | |
233 | // .stream_executor.dnn.ConvolutionKind kind = 1; |
234 | void clear_kind(); |
235 | ::stream_executor::dnn::ConvolutionKind kind() const; |
236 | void set_kind(::stream_executor::dnn::ConvolutionKind value); |
237 | |
238 | // .stream_executor.dnn.ActivationMode activation = 8; |
239 | void clear_activation(); |
240 | ::stream_executor::dnn::ActivationMode activation() const; |
241 | void set_activation(::stream_executor::dnn::ActivationMode value); |
242 | |
243 | // double conv_scale = 6; |
244 | void clear_conv_scale(); |
245 | double conv_scale() const; |
246 | void set_conv_scale(double value); |
247 | |
248 | // double side_value_scale = 7; |
249 | void clear_side_value_scale(); |
250 | double side_value_scale() const; |
251 | void set_side_value_scale(double value); |
252 | |
253 | // int64 input_address = 9; |
254 | void clear_input_address(); |
255 | ::PROTOBUF_NAMESPACE_ID::int64 input_address() const; |
256 | void set_input_address(::PROTOBUF_NAMESPACE_ID::int64 value); |
257 | |
258 | // int64 filter_address = 10; |
259 | void clear_filter_address(); |
260 | ::PROTOBUF_NAMESPACE_ID::int64 filter_address() const; |
261 | void set_filter_address(::PROTOBUF_NAMESPACE_ID::int64 value); |
262 | |
263 | // int64 output_address = 11; |
264 | void clear_output_address(); |
265 | ::PROTOBUF_NAMESPACE_ID::int64 output_address() const; |
266 | void set_output_address(::PROTOBUF_NAMESPACE_ID::int64 value); |
267 | |
268 | // int64 bias_address = 12; |
269 | void clear_bias_address(); |
270 | ::PROTOBUF_NAMESPACE_ID::int64 bias_address() const; |
271 | void set_bias_address(::PROTOBUF_NAMESPACE_ID::int64 value); |
272 | |
273 | // int64 side_input_address = 13; |
274 | void clear_side_input_address(); |
275 | ::PROTOBUF_NAMESPACE_ID::int64 side_input_address() const; |
276 | void set_side_input_address(::PROTOBUF_NAMESPACE_ID::int64 value); |
277 | |
278 | // @@protoc_insertion_point(class_scope:tensorflow.ConvolutionProto) |
279 | private: |
280 | class _Internal; |
281 | |
282 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
283 | ::stream_executor::dnn::TensorDescriptorProto* input_; |
284 | ::stream_executor::dnn::TensorDescriptorProto* filter_; |
285 | ::stream_executor::dnn::TensorDescriptorProto* output_; |
286 | ::stream_executor::dnn::ConvolutionDescriptorProto* conv_desc_; |
287 | int kind_; |
288 | int activation_; |
289 | double conv_scale_; |
290 | double side_value_scale_; |
291 | ::PROTOBUF_NAMESPACE_ID::int64 input_address_; |
292 | ::PROTOBUF_NAMESPACE_ID::int64 filter_address_; |
293 | ::PROTOBUF_NAMESPACE_ID::int64 output_address_; |
294 | ::PROTOBUF_NAMESPACE_ID::int64 bias_address_; |
295 | ::PROTOBUF_NAMESPACE_ID::int64 side_input_address_; |
296 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
297 | friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fconv_5fautotuning_2eproto; |
298 | }; |
299 | // ------------------------------------------------------------------- |
300 | |
301 | class MatmulProto : |
302 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.MatmulProto) */ { |
303 | public: |
304 | MatmulProto(); |
305 | virtual ~MatmulProto(); |
306 | |
307 | MatmulProto(const MatmulProto& from); |
308 | MatmulProto(MatmulProto&& from) noexcept |
309 | : MatmulProto() { |
310 | *this = ::std::move(from); |
311 | } |
312 | |
313 | inline MatmulProto& operator=(const MatmulProto& from) { |
314 | CopyFrom(from); |
315 | return *this; |
316 | } |
317 | inline MatmulProto& operator=(MatmulProto&& from) noexcept { |
318 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
319 | if (this != &from) InternalSwap(&from); |
320 | } else { |
321 | CopyFrom(from); |
322 | } |
323 | return *this; |
324 | } |
325 | |
326 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
327 | return GetDescriptor(); |
328 | } |
329 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
330 | return GetMetadataStatic().descriptor; |
331 | } |
332 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
333 | return GetMetadataStatic().reflection; |
334 | } |
335 | static const MatmulProto& default_instance(); |
336 | |
337 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
338 | static inline const MatmulProto* internal_default_instance() { |
339 | return reinterpret_cast<const MatmulProto*>( |
340 | &_MatmulProto_default_instance_); |
341 | } |
342 | static constexpr int kIndexInFileMessages = |
343 | 1; |
344 | |
345 | friend void swap(MatmulProto& a, MatmulProto& b) { |
346 | a.Swap(&b); |
347 | } |
348 | inline void Swap(MatmulProto* other) { |
349 | if (other == this) return; |
350 | InternalSwap(other); |
351 | } |
352 | |
353 | // implements Message ---------------------------------------------- |
354 | |
355 | inline MatmulProto* New() const final { |
356 | return CreateMaybeMessage<MatmulProto>(nullptr); |
357 | } |
358 | |
359 | MatmulProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
360 | return CreateMaybeMessage<MatmulProto>(arena); |
361 | } |
362 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
363 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
364 | void CopyFrom(const MatmulProto& from); |
365 | void MergeFrom(const MatmulProto& from); |
366 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
367 | bool IsInitialized() const final; |
368 | |
369 | size_t ByteSizeLong() const final; |
370 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
371 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
372 | #else |
373 | bool MergePartialFromCodedStream( |
374 | ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final; |
375 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
376 | void SerializeWithCachedSizes( |
377 | ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final; |
378 | ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray( |
379 | ::PROTOBUF_NAMESPACE_ID::uint8* target) const final; |
380 | int GetCachedSize() const final { return _cached_size_.Get(); } |
381 | |
382 | private: |
383 | inline void SharedCtor(); |
384 | inline void SharedDtor(); |
385 | void SetCachedSize(int size) const final; |
386 | void InternalSwap(MatmulProto* other); |
387 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
388 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
389 | return "tensorflow.MatmulProto" ; |
390 | } |
391 | private: |
392 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
393 | return nullptr; |
394 | } |
395 | inline void* MaybeArenaPtr() const { |
396 | return nullptr; |
397 | } |
398 | public: |
399 | |
400 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
401 | private: |
402 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
403 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2fconv_5fautotuning_2eproto); |
404 | return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2fconv_5fautotuning_2eproto.file_level_metadata[kIndexInFileMessages]; |
405 | } |
406 | |
407 | public: |
408 | |
409 | // nested types ---------------------------------------------------- |
410 | |
411 | // accessors ------------------------------------------------------- |
412 | |
413 | enum : int { |
414 | kAbDtypeFieldNumber = 1, |
415 | kCDtypeFieldNumber = 2, |
416 | kMFieldNumber = 5, |
417 | kNFieldNumber = 6, |
418 | kTransAFieldNumber = 3, |
419 | kTransBFieldNumber = 4, |
420 | kActivationFieldNumber = 11, |
421 | kKFieldNumber = 7, |
422 | kLdaFieldNumber = 8, |
423 | kLdbFieldNumber = 9, |
424 | kLdcFieldNumber = 10, |
425 | kAAddressFieldNumber = 12, |
426 | kBAddressFieldNumber = 13, |
427 | kCAddressFieldNumber = 14, |
428 | kBiasAddressFieldNumber = 15, |
429 | }; |
430 | // .stream_executor.dnn.DataType ab_dtype = 1; |
431 | void clear_ab_dtype(); |
432 | ::stream_executor::dnn::DataType ab_dtype() const; |
433 | void set_ab_dtype(::stream_executor::dnn::DataType value); |
434 | |
435 | // .stream_executor.dnn.DataType c_dtype = 2; |
436 | void clear_c_dtype(); |
437 | ::stream_executor::dnn::DataType c_dtype() const; |
438 | void set_c_dtype(::stream_executor::dnn::DataType value); |
439 | |
440 | // uint64 m = 5; |
441 | void clear_m(); |
442 | ::PROTOBUF_NAMESPACE_ID::uint64 m() const; |
443 | void set_m(::PROTOBUF_NAMESPACE_ID::uint64 value); |
444 | |
445 | // uint64 n = 6; |
446 | void clear_n(); |
447 | ::PROTOBUF_NAMESPACE_ID::uint64 n() const; |
448 | void set_n(::PROTOBUF_NAMESPACE_ID::uint64 value); |
449 | |
450 | // bool trans_a = 3; |
451 | void clear_trans_a(); |
452 | bool trans_a() const; |
453 | void set_trans_a(bool value); |
454 | |
455 | // bool trans_b = 4; |
456 | void clear_trans_b(); |
457 | bool trans_b() const; |
458 | void set_trans_b(bool value); |
459 | |
460 | // .stream_executor.dnn.ActivationMode activation = 11; |
461 | void clear_activation(); |
462 | ::stream_executor::dnn::ActivationMode activation() const; |
463 | void set_activation(::stream_executor::dnn::ActivationMode value); |
464 | |
465 | // uint64 k = 7; |
466 | void clear_k(); |
467 | ::PROTOBUF_NAMESPACE_ID::uint64 k() const; |
468 | void set_k(::PROTOBUF_NAMESPACE_ID::uint64 value); |
469 | |
470 | // int64 lda = 8; |
471 | void clear_lda(); |
472 | ::PROTOBUF_NAMESPACE_ID::int64 lda() const; |
473 | void set_lda(::PROTOBUF_NAMESPACE_ID::int64 value); |
474 | |
475 | // int64 ldb = 9; |
476 | void clear_ldb(); |
477 | ::PROTOBUF_NAMESPACE_ID::int64 ldb() const; |
478 | void set_ldb(::PROTOBUF_NAMESPACE_ID::int64 value); |
479 | |
480 | // int64 ldc = 10; |
481 | void clear_ldc(); |
482 | ::PROTOBUF_NAMESPACE_ID::int64 ldc() const; |
483 | void set_ldc(::PROTOBUF_NAMESPACE_ID::int64 value); |
484 | |
485 | // int64 a_address = 12; |
486 | void clear_a_address(); |
487 | ::PROTOBUF_NAMESPACE_ID::int64 a_address() const; |
488 | void set_a_address(::PROTOBUF_NAMESPACE_ID::int64 value); |
489 | |
490 | // int64 b_address = 13; |
491 | void clear_b_address(); |
492 | ::PROTOBUF_NAMESPACE_ID::int64 b_address() const; |
493 | void set_b_address(::PROTOBUF_NAMESPACE_ID::int64 value); |
494 | |
495 | // int64 c_address = 14; |
496 | void clear_c_address(); |
497 | ::PROTOBUF_NAMESPACE_ID::int64 c_address() const; |
498 | void set_c_address(::PROTOBUF_NAMESPACE_ID::int64 value); |
499 | |
500 | // int64 bias_address = 15; |
501 | void clear_bias_address(); |
502 | ::PROTOBUF_NAMESPACE_ID::int64 bias_address() const; |
503 | void set_bias_address(::PROTOBUF_NAMESPACE_ID::int64 value); |
504 | |
505 | // @@protoc_insertion_point(class_scope:tensorflow.MatmulProto) |
506 | private: |
507 | class _Internal; |
508 | |
509 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
510 | int ab_dtype_; |
511 | int c_dtype_; |
512 | ::PROTOBUF_NAMESPACE_ID::uint64 m_; |
513 | ::PROTOBUF_NAMESPACE_ID::uint64 n_; |
514 | bool trans_a_; |
515 | bool trans_b_; |
516 | int activation_; |
517 | ::PROTOBUF_NAMESPACE_ID::uint64 k_; |
518 | ::PROTOBUF_NAMESPACE_ID::int64 lda_; |
519 | ::PROTOBUF_NAMESPACE_ID::int64 ldb_; |
520 | ::PROTOBUF_NAMESPACE_ID::int64 ldc_; |
521 | ::PROTOBUF_NAMESPACE_ID::int64 a_address_; |
522 | ::PROTOBUF_NAMESPACE_ID::int64 b_address_; |
523 | ::PROTOBUF_NAMESPACE_ID::int64 c_address_; |
524 | ::PROTOBUF_NAMESPACE_ID::int64 bias_address_; |
525 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
526 | friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fconv_5fautotuning_2eproto; |
527 | }; |
528 | // =================================================================== |
529 | |
530 | |
531 | // =================================================================== |
532 | |
533 | #ifdef __GNUC__ |
534 | #pragma GCC diagnostic push |
535 | #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
536 | #endif // __GNUC__ |
537 | // ConvolutionProto |
538 | |
539 | // .stream_executor.dnn.ConvolutionKind kind = 1; |
540 | inline void ConvolutionProto::clear_kind() { |
541 | kind_ = 0; |
542 | } |
543 | inline ::stream_executor::dnn::ConvolutionKind ConvolutionProto::kind() const { |
544 | // @@protoc_insertion_point(field_get:tensorflow.ConvolutionProto.kind) |
545 | return static_cast< ::stream_executor::dnn::ConvolutionKind >(kind_); |
546 | } |
547 | inline void ConvolutionProto::set_kind(::stream_executor::dnn::ConvolutionKind value) { |
548 | |
549 | kind_ = value; |
550 | // @@protoc_insertion_point(field_set:tensorflow.ConvolutionProto.kind) |
551 | } |
552 | |
553 | // .stream_executor.dnn.TensorDescriptorProto input = 2; |
554 | inline bool ConvolutionProto::has_input() const { |
555 | return this != internal_default_instance() && input_ != nullptr; |
556 | } |
557 | inline const ::stream_executor::dnn::TensorDescriptorProto& ConvolutionProto::input() const { |
558 | const ::stream_executor::dnn::TensorDescriptorProto* p = input_; |
559 | // @@protoc_insertion_point(field_get:tensorflow.ConvolutionProto.input) |
560 | return p != nullptr ? *p : *reinterpret_cast<const ::stream_executor::dnn::TensorDescriptorProto*>( |
561 | &::stream_executor::dnn::_TensorDescriptorProto_default_instance_); |
562 | } |
563 | inline ::stream_executor::dnn::TensorDescriptorProto* ConvolutionProto::release_input() { |
564 | // @@protoc_insertion_point(field_release:tensorflow.ConvolutionProto.input) |
565 | |
566 | ::stream_executor::dnn::TensorDescriptorProto* temp = input_; |
567 | input_ = nullptr; |
568 | return temp; |
569 | } |
570 | inline ::stream_executor::dnn::TensorDescriptorProto* ConvolutionProto::mutable_input() { |
571 | |
572 | if (input_ == nullptr) { |
573 | auto* p = CreateMaybeMessage<::stream_executor::dnn::TensorDescriptorProto>(GetArenaNoVirtual()); |
574 | input_ = p; |
575 | } |
576 | // @@protoc_insertion_point(field_mutable:tensorflow.ConvolutionProto.input) |
577 | return input_; |
578 | } |
579 | inline void ConvolutionProto::set_allocated_input(::stream_executor::dnn::TensorDescriptorProto* input) { |
580 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); |
581 | if (message_arena == nullptr) { |
582 | delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(input_); |
583 | } |
584 | if (input) { |
585 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; |
586 | if (message_arena != submessage_arena) { |
587 | input = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
588 | message_arena, input, submessage_arena); |
589 | } |
590 | |
591 | } else { |
592 | |
593 | } |
594 | input_ = input; |
595 | // @@protoc_insertion_point(field_set_allocated:tensorflow.ConvolutionProto.input) |
596 | } |
597 | |
598 | // .stream_executor.dnn.TensorDescriptorProto filter = 3; |
599 | inline bool ConvolutionProto::has_filter() const { |
600 | return this != internal_default_instance() && filter_ != nullptr; |
601 | } |
602 | inline const ::stream_executor::dnn::TensorDescriptorProto& ConvolutionProto::filter() const { |
603 | const ::stream_executor::dnn::TensorDescriptorProto* p = filter_; |
604 | // @@protoc_insertion_point(field_get:tensorflow.ConvolutionProto.filter) |
605 | return p != nullptr ? *p : *reinterpret_cast<const ::stream_executor::dnn::TensorDescriptorProto*>( |
606 | &::stream_executor::dnn::_TensorDescriptorProto_default_instance_); |
607 | } |
608 | inline ::stream_executor::dnn::TensorDescriptorProto* ConvolutionProto::release_filter() { |
609 | // @@protoc_insertion_point(field_release:tensorflow.ConvolutionProto.filter) |
610 | |
611 | ::stream_executor::dnn::TensorDescriptorProto* temp = filter_; |
612 | filter_ = nullptr; |
613 | return temp; |
614 | } |
615 | inline ::stream_executor::dnn::TensorDescriptorProto* ConvolutionProto::mutable_filter() { |
616 | |
617 | if (filter_ == nullptr) { |
618 | auto* p = CreateMaybeMessage<::stream_executor::dnn::TensorDescriptorProto>(GetArenaNoVirtual()); |
619 | filter_ = p; |
620 | } |
621 | // @@protoc_insertion_point(field_mutable:tensorflow.ConvolutionProto.filter) |
622 | return filter_; |
623 | } |
624 | inline void ConvolutionProto::set_allocated_filter(::stream_executor::dnn::TensorDescriptorProto* filter) { |
625 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); |
626 | if (message_arena == nullptr) { |
627 | delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(filter_); |
628 | } |
629 | if (filter) { |
630 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; |
631 | if (message_arena != submessage_arena) { |
632 | filter = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
633 | message_arena, filter, submessage_arena); |
634 | } |
635 | |
636 | } else { |
637 | |
638 | } |
639 | filter_ = filter; |
640 | // @@protoc_insertion_point(field_set_allocated:tensorflow.ConvolutionProto.filter) |
641 | } |
642 | |
643 | // .stream_executor.dnn.TensorDescriptorProto output = 4; |
644 | inline bool ConvolutionProto::has_output() const { |
645 | return this != internal_default_instance() && output_ != nullptr; |
646 | } |
647 | inline const ::stream_executor::dnn::TensorDescriptorProto& ConvolutionProto::output() const { |
648 | const ::stream_executor::dnn::TensorDescriptorProto* p = output_; |
649 | // @@protoc_insertion_point(field_get:tensorflow.ConvolutionProto.output) |
650 | return p != nullptr ? *p : *reinterpret_cast<const ::stream_executor::dnn::TensorDescriptorProto*>( |
651 | &::stream_executor::dnn::_TensorDescriptorProto_default_instance_); |
652 | } |
653 | inline ::stream_executor::dnn::TensorDescriptorProto* ConvolutionProto::release_output() { |
654 | // @@protoc_insertion_point(field_release:tensorflow.ConvolutionProto.output) |
655 | |
656 | ::stream_executor::dnn::TensorDescriptorProto* temp = output_; |
657 | output_ = nullptr; |
658 | return temp; |
659 | } |
660 | inline ::stream_executor::dnn::TensorDescriptorProto* ConvolutionProto::mutable_output() { |
661 | |
662 | if (output_ == nullptr) { |
663 | auto* p = CreateMaybeMessage<::stream_executor::dnn::TensorDescriptorProto>(GetArenaNoVirtual()); |
664 | output_ = p; |
665 | } |
666 | // @@protoc_insertion_point(field_mutable:tensorflow.ConvolutionProto.output) |
667 | return output_; |
668 | } |
669 | inline void ConvolutionProto::set_allocated_output(::stream_executor::dnn::TensorDescriptorProto* output) { |
670 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); |
671 | if (message_arena == nullptr) { |
672 | delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(output_); |
673 | } |
674 | if (output) { |
675 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; |
676 | if (message_arena != submessage_arena) { |
677 | output = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
678 | message_arena, output, submessage_arena); |
679 | } |
680 | |
681 | } else { |
682 | |
683 | } |
684 | output_ = output; |
685 | // @@protoc_insertion_point(field_set_allocated:tensorflow.ConvolutionProto.output) |
686 | } |
687 | |
688 | // .stream_executor.dnn.ConvolutionDescriptorProto conv_desc = 5; |
689 | inline bool ConvolutionProto::has_conv_desc() const { |
690 | return this != internal_default_instance() && conv_desc_ != nullptr; |
691 | } |
692 | inline const ::stream_executor::dnn::ConvolutionDescriptorProto& ConvolutionProto::conv_desc() const { |
693 | const ::stream_executor::dnn::ConvolutionDescriptorProto* p = conv_desc_; |
694 | // @@protoc_insertion_point(field_get:tensorflow.ConvolutionProto.conv_desc) |
695 | return p != nullptr ? *p : *reinterpret_cast<const ::stream_executor::dnn::ConvolutionDescriptorProto*>( |
696 | &::stream_executor::dnn::_ConvolutionDescriptorProto_default_instance_); |
697 | } |
698 | inline ::stream_executor::dnn::ConvolutionDescriptorProto* ConvolutionProto::release_conv_desc() { |
699 | // @@protoc_insertion_point(field_release:tensorflow.ConvolutionProto.conv_desc) |
700 | |
701 | ::stream_executor::dnn::ConvolutionDescriptorProto* temp = conv_desc_; |
702 | conv_desc_ = nullptr; |
703 | return temp; |
704 | } |
705 | inline ::stream_executor::dnn::ConvolutionDescriptorProto* ConvolutionProto::mutable_conv_desc() { |
706 | |
707 | if (conv_desc_ == nullptr) { |
708 | auto* p = CreateMaybeMessage<::stream_executor::dnn::ConvolutionDescriptorProto>(GetArenaNoVirtual()); |
709 | conv_desc_ = p; |
710 | } |
711 | // @@protoc_insertion_point(field_mutable:tensorflow.ConvolutionProto.conv_desc) |
712 | return conv_desc_; |
713 | } |
714 | inline void ConvolutionProto::set_allocated_conv_desc(::stream_executor::dnn::ConvolutionDescriptorProto* conv_desc) { |
715 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); |
716 | if (message_arena == nullptr) { |
717 | delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(conv_desc_); |
718 | } |
719 | if (conv_desc) { |
720 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; |
721 | if (message_arena != submessage_arena) { |
722 | conv_desc = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
723 | message_arena, conv_desc, submessage_arena); |
724 | } |
725 | |
726 | } else { |
727 | |
728 | } |
729 | conv_desc_ = conv_desc; |
730 | // @@protoc_insertion_point(field_set_allocated:tensorflow.ConvolutionProto.conv_desc) |
731 | } |
732 | |
733 | // double conv_scale = 6; |
734 | inline void ConvolutionProto::clear_conv_scale() { |
735 | conv_scale_ = 0; |
736 | } |
737 | inline double ConvolutionProto::conv_scale() const { |
738 | // @@protoc_insertion_point(field_get:tensorflow.ConvolutionProto.conv_scale) |
739 | return conv_scale_; |
740 | } |
741 | inline void ConvolutionProto::set_conv_scale(double value) { |
742 | |
743 | conv_scale_ = value; |
744 | // @@protoc_insertion_point(field_set:tensorflow.ConvolutionProto.conv_scale) |
745 | } |
746 | |
747 | // double side_value_scale = 7; |
748 | inline void ConvolutionProto::clear_side_value_scale() { |
749 | side_value_scale_ = 0; |
750 | } |
751 | inline double ConvolutionProto::side_value_scale() const { |
752 | // @@protoc_insertion_point(field_get:tensorflow.ConvolutionProto.side_value_scale) |
753 | return side_value_scale_; |
754 | } |
755 | inline void ConvolutionProto::set_side_value_scale(double value) { |
756 | |
757 | side_value_scale_ = value; |
758 | // @@protoc_insertion_point(field_set:tensorflow.ConvolutionProto.side_value_scale) |
759 | } |
760 | |
761 | // .stream_executor.dnn.ActivationMode activation = 8; |
762 | inline void ConvolutionProto::clear_activation() { |
763 | activation_ = 0; |
764 | } |
765 | inline ::stream_executor::dnn::ActivationMode ConvolutionProto::activation() const { |
766 | // @@protoc_insertion_point(field_get:tensorflow.ConvolutionProto.activation) |
767 | return static_cast< ::stream_executor::dnn::ActivationMode >(activation_); |
768 | } |
769 | inline void ConvolutionProto::set_activation(::stream_executor::dnn::ActivationMode value) { |
770 | |
771 | activation_ = value; |
772 | // @@protoc_insertion_point(field_set:tensorflow.ConvolutionProto.activation) |
773 | } |
774 | |
775 | // int64 input_address = 9; |
776 | inline void ConvolutionProto::clear_input_address() { |
777 | input_address_ = PROTOBUF_LONGLONG(0); |
778 | } |
779 | inline ::PROTOBUF_NAMESPACE_ID::int64 ConvolutionProto::input_address() const { |
780 | // @@protoc_insertion_point(field_get:tensorflow.ConvolutionProto.input_address) |
781 | return input_address_; |
782 | } |
783 | inline void ConvolutionProto::set_input_address(::PROTOBUF_NAMESPACE_ID::int64 value) { |
784 | |
785 | input_address_ = value; |
786 | // @@protoc_insertion_point(field_set:tensorflow.ConvolutionProto.input_address) |
787 | } |
788 | |
789 | // int64 filter_address = 10; |
790 | inline void ConvolutionProto::clear_filter_address() { |
791 | filter_address_ = PROTOBUF_LONGLONG(0); |
792 | } |
793 | inline ::PROTOBUF_NAMESPACE_ID::int64 ConvolutionProto::filter_address() const { |
794 | // @@protoc_insertion_point(field_get:tensorflow.ConvolutionProto.filter_address) |
795 | return filter_address_; |
796 | } |
797 | inline void ConvolutionProto::set_filter_address(::PROTOBUF_NAMESPACE_ID::int64 value) { |
798 | |
799 | filter_address_ = value; |
800 | // @@protoc_insertion_point(field_set:tensorflow.ConvolutionProto.filter_address) |
801 | } |
802 | |
803 | // int64 output_address = 11; |
804 | inline void ConvolutionProto::clear_output_address() { |
805 | output_address_ = PROTOBUF_LONGLONG(0); |
806 | } |
807 | inline ::PROTOBUF_NAMESPACE_ID::int64 ConvolutionProto::output_address() const { |
808 | // @@protoc_insertion_point(field_get:tensorflow.ConvolutionProto.output_address) |
809 | return output_address_; |
810 | } |
811 | inline void ConvolutionProto::set_output_address(::PROTOBUF_NAMESPACE_ID::int64 value) { |
812 | |
813 | output_address_ = value; |
814 | // @@protoc_insertion_point(field_set:tensorflow.ConvolutionProto.output_address) |
815 | } |
816 | |
817 | // int64 bias_address = 12; |
818 | inline void ConvolutionProto::clear_bias_address() { |
819 | bias_address_ = PROTOBUF_LONGLONG(0); |
820 | } |
821 | inline ::PROTOBUF_NAMESPACE_ID::int64 ConvolutionProto::bias_address() const { |
822 | // @@protoc_insertion_point(field_get:tensorflow.ConvolutionProto.bias_address) |
823 | return bias_address_; |
824 | } |
825 | inline void ConvolutionProto::set_bias_address(::PROTOBUF_NAMESPACE_ID::int64 value) { |
826 | |
827 | bias_address_ = value; |
828 | // @@protoc_insertion_point(field_set:tensorflow.ConvolutionProto.bias_address) |
829 | } |
830 | |
831 | // int64 side_input_address = 13; |
832 | inline void ConvolutionProto::clear_side_input_address() { |
833 | side_input_address_ = PROTOBUF_LONGLONG(0); |
834 | } |
835 | inline ::PROTOBUF_NAMESPACE_ID::int64 ConvolutionProto::side_input_address() const { |
836 | // @@protoc_insertion_point(field_get:tensorflow.ConvolutionProto.side_input_address) |
837 | return side_input_address_; |
838 | } |
839 | inline void ConvolutionProto::set_side_input_address(::PROTOBUF_NAMESPACE_ID::int64 value) { |
840 | |
841 | side_input_address_ = value; |
842 | // @@protoc_insertion_point(field_set:tensorflow.ConvolutionProto.side_input_address) |
843 | } |
844 | |
845 | // ------------------------------------------------------------------- |
846 | |
847 | // MatmulProto |
848 | |
849 | // .stream_executor.dnn.DataType ab_dtype = 1; |
850 | inline void MatmulProto::clear_ab_dtype() { |
851 | ab_dtype_ = 0; |
852 | } |
853 | inline ::stream_executor::dnn::DataType MatmulProto::ab_dtype() const { |
854 | // @@protoc_insertion_point(field_get:tensorflow.MatmulProto.ab_dtype) |
855 | return static_cast< ::stream_executor::dnn::DataType >(ab_dtype_); |
856 | } |
857 | inline void MatmulProto::set_ab_dtype(::stream_executor::dnn::DataType value) { |
858 | |
859 | ab_dtype_ = value; |
860 | // @@protoc_insertion_point(field_set:tensorflow.MatmulProto.ab_dtype) |
861 | } |
862 | |
863 | // .stream_executor.dnn.DataType c_dtype = 2; |
864 | inline void MatmulProto::clear_c_dtype() { |
865 | c_dtype_ = 0; |
866 | } |
867 | inline ::stream_executor::dnn::DataType MatmulProto::c_dtype() const { |
868 | // @@protoc_insertion_point(field_get:tensorflow.MatmulProto.c_dtype) |
869 | return static_cast< ::stream_executor::dnn::DataType >(c_dtype_); |
870 | } |
871 | inline void MatmulProto::set_c_dtype(::stream_executor::dnn::DataType value) { |
872 | |
873 | c_dtype_ = value; |
874 | // @@protoc_insertion_point(field_set:tensorflow.MatmulProto.c_dtype) |
875 | } |
876 | |
877 | // bool trans_a = 3; |
878 | inline void MatmulProto::clear_trans_a() { |
879 | trans_a_ = false; |
880 | } |
881 | inline bool MatmulProto::trans_a() const { |
882 | // @@protoc_insertion_point(field_get:tensorflow.MatmulProto.trans_a) |
883 | return trans_a_; |
884 | } |
885 | inline void MatmulProto::set_trans_a(bool value) { |
886 | |
887 | trans_a_ = value; |
888 | // @@protoc_insertion_point(field_set:tensorflow.MatmulProto.trans_a) |
889 | } |
890 | |
891 | // bool trans_b = 4; |
892 | inline void MatmulProto::clear_trans_b() { |
893 | trans_b_ = false; |
894 | } |
895 | inline bool MatmulProto::trans_b() const { |
896 | // @@protoc_insertion_point(field_get:tensorflow.MatmulProto.trans_b) |
897 | return trans_b_; |
898 | } |
899 | inline void MatmulProto::set_trans_b(bool value) { |
900 | |
901 | trans_b_ = value; |
902 | // @@protoc_insertion_point(field_set:tensorflow.MatmulProto.trans_b) |
903 | } |
904 | |
905 | // uint64 m = 5; |
906 | inline void MatmulProto::clear_m() { |
907 | m_ = PROTOBUF_ULONGLONG(0); |
908 | } |
909 | inline ::PROTOBUF_NAMESPACE_ID::uint64 MatmulProto::m() const { |
910 | // @@protoc_insertion_point(field_get:tensorflow.MatmulProto.m) |
911 | return m_; |
912 | } |
913 | inline void MatmulProto::set_m(::PROTOBUF_NAMESPACE_ID::uint64 value) { |
914 | |
915 | m_ = value; |
916 | // @@protoc_insertion_point(field_set:tensorflow.MatmulProto.m) |
917 | } |
918 | |
919 | // uint64 n = 6; |
920 | inline void MatmulProto::clear_n() { |
921 | n_ = PROTOBUF_ULONGLONG(0); |
922 | } |
923 | inline ::PROTOBUF_NAMESPACE_ID::uint64 MatmulProto::n() const { |
924 | // @@protoc_insertion_point(field_get:tensorflow.MatmulProto.n) |
925 | return n_; |
926 | } |
927 | inline void MatmulProto::set_n(::PROTOBUF_NAMESPACE_ID::uint64 value) { |
928 | |
929 | n_ = value; |
930 | // @@protoc_insertion_point(field_set:tensorflow.MatmulProto.n) |
931 | } |
932 | |
933 | // uint64 k = 7; |
934 | inline void MatmulProto::clear_k() { |
935 | k_ = PROTOBUF_ULONGLONG(0); |
936 | } |
937 | inline ::PROTOBUF_NAMESPACE_ID::uint64 MatmulProto::k() const { |
938 | // @@protoc_insertion_point(field_get:tensorflow.MatmulProto.k) |
939 | return k_; |
940 | } |
941 | inline void MatmulProto::set_k(::PROTOBUF_NAMESPACE_ID::uint64 value) { |
942 | |
943 | k_ = value; |
944 | // @@protoc_insertion_point(field_set:tensorflow.MatmulProto.k) |
945 | } |
946 | |
947 | // int64 lda = 8; |
948 | inline void MatmulProto::clear_lda() { |
949 | lda_ = PROTOBUF_LONGLONG(0); |
950 | } |
951 | inline ::PROTOBUF_NAMESPACE_ID::int64 MatmulProto::lda() const { |
952 | // @@protoc_insertion_point(field_get:tensorflow.MatmulProto.lda) |
953 | return lda_; |
954 | } |
955 | inline void MatmulProto::set_lda(::PROTOBUF_NAMESPACE_ID::int64 value) { |
956 | |
957 | lda_ = value; |
958 | // @@protoc_insertion_point(field_set:tensorflow.MatmulProto.lda) |
959 | } |
960 | |
961 | // int64 ldb = 9; |
962 | inline void MatmulProto::clear_ldb() { |
963 | ldb_ = PROTOBUF_LONGLONG(0); |
964 | } |
965 | inline ::PROTOBUF_NAMESPACE_ID::int64 MatmulProto::ldb() const { |
966 | // @@protoc_insertion_point(field_get:tensorflow.MatmulProto.ldb) |
967 | return ldb_; |
968 | } |
969 | inline void MatmulProto::set_ldb(::PROTOBUF_NAMESPACE_ID::int64 value) { |
970 | |
971 | ldb_ = value; |
972 | // @@protoc_insertion_point(field_set:tensorflow.MatmulProto.ldb) |
973 | } |
974 | |
975 | // int64 ldc = 10; |
976 | inline void MatmulProto::clear_ldc() { |
977 | ldc_ = PROTOBUF_LONGLONG(0); |
978 | } |
979 | inline ::PROTOBUF_NAMESPACE_ID::int64 MatmulProto::ldc() const { |
980 | // @@protoc_insertion_point(field_get:tensorflow.MatmulProto.ldc) |
981 | return ldc_; |
982 | } |
983 | inline void MatmulProto::set_ldc(::PROTOBUF_NAMESPACE_ID::int64 value) { |
984 | |
985 | ldc_ = value; |
986 | // @@protoc_insertion_point(field_set:tensorflow.MatmulProto.ldc) |
987 | } |
988 | |
989 | // .stream_executor.dnn.ActivationMode activation = 11; |
990 | inline void MatmulProto::clear_activation() { |
991 | activation_ = 0; |
992 | } |
993 | inline ::stream_executor::dnn::ActivationMode MatmulProto::activation() const { |
994 | // @@protoc_insertion_point(field_get:tensorflow.MatmulProto.activation) |
995 | return static_cast< ::stream_executor::dnn::ActivationMode >(activation_); |
996 | } |
997 | inline void MatmulProto::set_activation(::stream_executor::dnn::ActivationMode value) { |
998 | |
999 | activation_ = value; |
1000 | // @@protoc_insertion_point(field_set:tensorflow.MatmulProto.activation) |
1001 | } |
1002 | |
1003 | // int64 a_address = 12; |
1004 | inline void MatmulProto::clear_a_address() { |
1005 | a_address_ = PROTOBUF_LONGLONG(0); |
1006 | } |
1007 | inline ::PROTOBUF_NAMESPACE_ID::int64 MatmulProto::a_address() const { |
1008 | // @@protoc_insertion_point(field_get:tensorflow.MatmulProto.a_address) |
1009 | return a_address_; |
1010 | } |
1011 | inline void MatmulProto::set_a_address(::PROTOBUF_NAMESPACE_ID::int64 value) { |
1012 | |
1013 | a_address_ = value; |
1014 | // @@protoc_insertion_point(field_set:tensorflow.MatmulProto.a_address) |
1015 | } |
1016 | |
1017 | // int64 b_address = 13; |
1018 | inline void MatmulProto::clear_b_address() { |
1019 | b_address_ = PROTOBUF_LONGLONG(0); |
1020 | } |
1021 | inline ::PROTOBUF_NAMESPACE_ID::int64 MatmulProto::b_address() const { |
1022 | // @@protoc_insertion_point(field_get:tensorflow.MatmulProto.b_address) |
1023 | return b_address_; |
1024 | } |
1025 | inline void MatmulProto::set_b_address(::PROTOBUF_NAMESPACE_ID::int64 value) { |
1026 | |
1027 | b_address_ = value; |
1028 | // @@protoc_insertion_point(field_set:tensorflow.MatmulProto.b_address) |
1029 | } |
1030 | |
1031 | // int64 c_address = 14; |
1032 | inline void MatmulProto::clear_c_address() { |
1033 | c_address_ = PROTOBUF_LONGLONG(0); |
1034 | } |
1035 | inline ::PROTOBUF_NAMESPACE_ID::int64 MatmulProto::c_address() const { |
1036 | // @@protoc_insertion_point(field_get:tensorflow.MatmulProto.c_address) |
1037 | return c_address_; |
1038 | } |
1039 | inline void MatmulProto::set_c_address(::PROTOBUF_NAMESPACE_ID::int64 value) { |
1040 | |
1041 | c_address_ = value; |
1042 | // @@protoc_insertion_point(field_set:tensorflow.MatmulProto.c_address) |
1043 | } |
1044 | |
1045 | // int64 bias_address = 15; |
1046 | inline void MatmulProto::clear_bias_address() { |
1047 | bias_address_ = PROTOBUF_LONGLONG(0); |
1048 | } |
1049 | inline ::PROTOBUF_NAMESPACE_ID::int64 MatmulProto::bias_address() const { |
1050 | // @@protoc_insertion_point(field_get:tensorflow.MatmulProto.bias_address) |
1051 | return bias_address_; |
1052 | } |
1053 | inline void MatmulProto::set_bias_address(::PROTOBUF_NAMESPACE_ID::int64 value) { |
1054 | |
1055 | bias_address_ = value; |
1056 | // @@protoc_insertion_point(field_set:tensorflow.MatmulProto.bias_address) |
1057 | } |
1058 | |
1059 | #ifdef __GNUC__ |
1060 | #pragma GCC diagnostic pop |
1061 | #endif // __GNUC__ |
1062 | // ------------------------------------------------------------------- |
1063 | |
1064 | |
1065 | // @@protoc_insertion_point(namespace_scope) |
1066 | |
1067 | } // namespace tensorflow |
1068 | |
1069 | // @@protoc_insertion_point(global_scope) |
1070 | |
1071 | #include <google/protobuf/port_undef.inc> |
1072 | #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fprotobuf_2fconv_5fautotuning_2eproto |
1073 | |