1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: tensorflow/core/framework/tensor.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fframework_2ftensor_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fframework_2ftensor_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/core/framework/resource_handle.pb.h"
36#include "tensorflow/core/framework/tensor_shape.pb.h"
37#include "tensorflow/core/framework/types.pb.h"
38// @@protoc_insertion_point(includes)
39#include <google/protobuf/port_def.inc>
40#define PROTOBUF_INTERNAL_EXPORT_tensorflow_2fcore_2fframework_2ftensor_2eproto
41PROTOBUF_NAMESPACE_OPEN
42namespace internal {
43class AnyMetadata;
44} // namespace internal
45PROTOBUF_NAMESPACE_CLOSE
46
47// Internal implementation detail -- do not use these members.
48struct TableStruct_tensorflow_2fcore_2fframework_2ftensor_2eproto {
49 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
50 PROTOBUF_SECTION_VARIABLE(protodesc_cold);
51 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
52 PROTOBUF_SECTION_VARIABLE(protodesc_cold);
53 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2]
54 PROTOBUF_SECTION_VARIABLE(protodesc_cold);
55 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
56 static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
57 static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
58};
59extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_tensorflow_2fcore_2fframework_2ftensor_2eproto;
60namespace tensorflow {
61class TensorProto;
62class TensorProtoDefaultTypeInternal;
63extern TensorProtoDefaultTypeInternal _TensorProto_default_instance_;
64class VariantTensorDataProto;
65class VariantTensorDataProtoDefaultTypeInternal;
66extern VariantTensorDataProtoDefaultTypeInternal _VariantTensorDataProto_default_instance_;
67} // namespace tensorflow
68PROTOBUF_NAMESPACE_OPEN
69template<> ::tensorflow::TensorProto* Arena::CreateMaybeMessage<::tensorflow::TensorProto>(Arena*);
70template<> ::tensorflow::VariantTensorDataProto* Arena::CreateMaybeMessage<::tensorflow::VariantTensorDataProto>(Arena*);
71PROTOBUF_NAMESPACE_CLOSE
72namespace tensorflow {
73
74// ===================================================================
75
76class TensorProto :
77 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.TensorProto) */ {
78 public:
79 TensorProto();
80 virtual ~TensorProto();
81
82 TensorProto(const TensorProto& from);
83 TensorProto(TensorProto&& from) noexcept
84 : TensorProto() {
85 *this = ::std::move(from);
86 }
87
88 inline TensorProto& operator=(const TensorProto& from) {
89 CopyFrom(from);
90 return *this;
91 }
92 inline TensorProto& operator=(TensorProto&& from) noexcept {
93 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
94 if (this != &from) InternalSwap(&from);
95 } else {
96 CopyFrom(from);
97 }
98 return *this;
99 }
100
101 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
102 return GetArenaNoVirtual();
103 }
104 inline void* GetMaybeArenaPointer() const final {
105 return MaybeArenaPtr();
106 }
107 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
108 return GetDescriptor();
109 }
110 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
111 return GetMetadataStatic().descriptor;
112 }
113 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
114 return GetMetadataStatic().reflection;
115 }
116 static const TensorProto& default_instance();
117
118 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
119 static inline const TensorProto* internal_default_instance() {
120 return reinterpret_cast<const TensorProto*>(
121 &_TensorProto_default_instance_);
122 }
123 static constexpr int kIndexInFileMessages =
124 0;
125
126 friend void swap(TensorProto& a, TensorProto& b) {
127 a.Swap(&b);
128 }
129 inline void Swap(TensorProto* other) {
130 if (other == this) return;
131 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
132 InternalSwap(other);
133 } else {
134 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
135 }
136 }
137 void UnsafeArenaSwap(TensorProto* other) {
138 if (other == this) return;
139 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
140 InternalSwap(other);
141 }
142
143 // implements Message ----------------------------------------------
144
145 inline TensorProto* New() const final {
146 return CreateMaybeMessage<TensorProto>(nullptr);
147 }
148
149 TensorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
150 return CreateMaybeMessage<TensorProto>(arena);
151 }
152 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
153 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
154 void CopyFrom(const TensorProto& from);
155 void MergeFrom(const TensorProto& from);
156 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
157 bool IsInitialized() const final;
158
159 size_t ByteSizeLong() const final;
160 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
161 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
162 #else
163 bool MergePartialFromCodedStream(
164 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
165 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
166 void SerializeWithCachedSizes(
167 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
168 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
169 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
170 int GetCachedSize() const final { return _cached_size_.Get(); }
171
172 private:
173 inline void SharedCtor();
174 inline void SharedDtor();
175 void SetCachedSize(int size) const final;
176 void InternalSwap(TensorProto* other);
177 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
178 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
179 return "tensorflow.TensorProto";
180 }
181 protected:
182 explicit TensorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena);
183 private:
184 static void ArenaDtor(void* object);
185 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
186 private:
187 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
188 return _internal_metadata_.arena();
189 }
190 inline void* MaybeArenaPtr() const {
191 return _internal_metadata_.raw_arena_ptr();
192 }
193 public:
194
195 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
196 private:
197 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
198 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fframework_2ftensor_2eproto);
199 return ::descriptor_table_tensorflow_2fcore_2fframework_2ftensor_2eproto.file_level_metadata[kIndexInFileMessages];
200 }
201
202 public:
203
204 // nested types ----------------------------------------------------
205
206 // accessors -------------------------------------------------------
207
208 enum : int {
209 kFloatValFieldNumber = 5,
210 kDoubleValFieldNumber = 6,
211 kIntValFieldNumber = 7,
212 kStringValFieldNumber = 8,
213 kScomplexValFieldNumber = 9,
214 kInt64ValFieldNumber = 10,
215 kBoolValFieldNumber = 11,
216 kDcomplexValFieldNumber = 12,
217 kHalfValFieldNumber = 13,
218 kResourceHandleValFieldNumber = 14,
219 kVariantValFieldNumber = 15,
220 kUint32ValFieldNumber = 16,
221 kUint64ValFieldNumber = 17,
222 kTensorContentFieldNumber = 4,
223 kTensorShapeFieldNumber = 2,
224 kDtypeFieldNumber = 1,
225 kVersionNumberFieldNumber = 3,
226 };
227 // repeated float float_val = 5 [packed = true];
228 int float_val_size() const;
229 void clear_float_val();
230 float float_val(int index) const;
231 void set_float_val(int index, float value);
232 void add_float_val(float value);
233 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
234 float_val() const;
235 ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
236 mutable_float_val();
237
238 // repeated double double_val = 6 [packed = true];
239 int double_val_size() const;
240 void clear_double_val();
241 double double_val(int index) const;
242 void set_double_val(int index, double value);
243 void add_double_val(double value);
244 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
245 double_val() const;
246 ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
247 mutable_double_val();
248
249 // repeated int32 int_val = 7 [packed = true];
250 int int_val_size() const;
251 void clear_int_val();
252 ::PROTOBUF_NAMESPACE_ID::int32 int_val(int index) const;
253 void set_int_val(int index, ::PROTOBUF_NAMESPACE_ID::int32 value);
254 void add_int_val(::PROTOBUF_NAMESPACE_ID::int32 value);
255 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
256 int_val() const;
257 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
258 mutable_int_val();
259
260 // repeated bytes string_val = 8;
261 int string_val_size() const;
262 void clear_string_val();
263 const std::string& string_val(int index) const;
264 std::string* mutable_string_val(int index);
265 void set_string_val(int index, const std::string& value);
266 void set_string_val(int index, std::string&& value);
267 void set_string_val(int index, const char* value);
268 void set_string_val(int index, const void* value, size_t size);
269 std::string* add_string_val();
270 void add_string_val(const std::string& value);
271 void add_string_val(std::string&& value);
272 void add_string_val(const char* value);
273 void add_string_val(const void* value, size_t size);
274 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& string_val() const;
275 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_string_val();
276
277 // repeated float scomplex_val = 9 [packed = true];
278 int scomplex_val_size() const;
279 void clear_scomplex_val();
280 float scomplex_val(int index) const;
281 void set_scomplex_val(int index, float value);
282 void add_scomplex_val(float value);
283 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
284 scomplex_val() const;
285 ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
286 mutable_scomplex_val();
287
288 // repeated int64 int64_val = 10 [packed = true];
289 int int64_val_size() const;
290 void clear_int64_val();
291 ::PROTOBUF_NAMESPACE_ID::int64 int64_val(int index) const;
292 void set_int64_val(int index, ::PROTOBUF_NAMESPACE_ID::int64 value);
293 void add_int64_val(::PROTOBUF_NAMESPACE_ID::int64 value);
294 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >&
295 int64_val() const;
296 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >*
297 mutable_int64_val();
298
299 // repeated bool bool_val = 11 [packed = true];
300 int bool_val_size() const;
301 void clear_bool_val();
302 bool bool_val(int index) const;
303 void set_bool_val(int index, bool value);
304 void add_bool_val(bool value);
305 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >&
306 bool_val() const;
307 ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >*
308 mutable_bool_val();
309
310 // repeated double dcomplex_val = 12 [packed = true];
311 int dcomplex_val_size() const;
312 void clear_dcomplex_val();
313 double dcomplex_val(int index) const;
314 void set_dcomplex_val(int index, double value);
315 void add_dcomplex_val(double value);
316 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
317 dcomplex_val() const;
318 ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
319 mutable_dcomplex_val();
320
321 // repeated int32 half_val = 13 [packed = true];
322 int half_val_size() const;
323 void clear_half_val();
324 ::PROTOBUF_NAMESPACE_ID::int32 half_val(int index) const;
325 void set_half_val(int index, ::PROTOBUF_NAMESPACE_ID::int32 value);
326 void add_half_val(::PROTOBUF_NAMESPACE_ID::int32 value);
327 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
328 half_val() const;
329 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
330 mutable_half_val();
331
332 // repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
333 int resource_handle_val_size() const;
334 void clear_resource_handle_val();
335 ::tensorflow::ResourceHandleProto* mutable_resource_handle_val(int index);
336 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::ResourceHandleProto >*
337 mutable_resource_handle_val();
338 const ::tensorflow::ResourceHandleProto& resource_handle_val(int index) const;
339 ::tensorflow::ResourceHandleProto* add_resource_handle_val();
340 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::ResourceHandleProto >&
341 resource_handle_val() const;
342
343 // repeated .tensorflow.VariantTensorDataProto variant_val = 15;
344 int variant_val_size() const;
345 void clear_variant_val();
346 ::tensorflow::VariantTensorDataProto* mutable_variant_val(int index);
347 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::VariantTensorDataProto >*
348 mutable_variant_val();
349 const ::tensorflow::VariantTensorDataProto& variant_val(int index) const;
350 ::tensorflow::VariantTensorDataProto* add_variant_val();
351 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::VariantTensorDataProto >&
352 variant_val() const;
353
354 // repeated uint32 uint32_val = 16 [packed = true];
355 int uint32_val_size() const;
356 void clear_uint32_val();
357 ::PROTOBUF_NAMESPACE_ID::uint32 uint32_val(int index) const;
358 void set_uint32_val(int index, ::PROTOBUF_NAMESPACE_ID::uint32 value);
359 void add_uint32_val(::PROTOBUF_NAMESPACE_ID::uint32 value);
360 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >&
361 uint32_val() const;
362 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >*
363 mutable_uint32_val();
364
365 // repeated uint64 uint64_val = 17 [packed = true];
366 int uint64_val_size() const;
367 void clear_uint64_val();
368 ::PROTOBUF_NAMESPACE_ID::uint64 uint64_val(int index) const;
369 void set_uint64_val(int index, ::PROTOBUF_NAMESPACE_ID::uint64 value);
370 void add_uint64_val(::PROTOBUF_NAMESPACE_ID::uint64 value);
371 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint64 >&
372 uint64_val() const;
373 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint64 >*
374 mutable_uint64_val();
375
376 // bytes tensor_content = 4;
377 void clear_tensor_content();
378 const std::string& tensor_content() const;
379 void set_tensor_content(const std::string& value);
380 void set_tensor_content(std::string&& value);
381 void set_tensor_content(const char* value);
382 void set_tensor_content(const void* value, size_t size);
383 std::string* mutable_tensor_content();
384 std::string* release_tensor_content();
385 void set_allocated_tensor_content(std::string* tensor_content);
386 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
387 " string fields are deprecated and will be removed in a"
388 " future release.")
389 std::string* unsafe_arena_release_tensor_content();
390 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
391 " string fields are deprecated and will be removed in a"
392 " future release.")
393 void unsafe_arena_set_allocated_tensor_content(
394 std::string* tensor_content);
395
396 // .tensorflow.TensorShapeProto tensor_shape = 2;
397 bool has_tensor_shape() const;
398 void clear_tensor_shape();
399 const ::tensorflow::TensorShapeProto& tensor_shape() const;
400 ::tensorflow::TensorShapeProto* release_tensor_shape();
401 ::tensorflow::TensorShapeProto* mutable_tensor_shape();
402 void set_allocated_tensor_shape(::tensorflow::TensorShapeProto* tensor_shape);
403 void unsafe_arena_set_allocated_tensor_shape(
404 ::tensorflow::TensorShapeProto* tensor_shape);
405 ::tensorflow::TensorShapeProto* unsafe_arena_release_tensor_shape();
406
407 // .tensorflow.DataType dtype = 1;
408 void clear_dtype();
409 ::tensorflow::DataType dtype() const;
410 void set_dtype(::tensorflow::DataType value);
411
412 // int32 version_number = 3;
413 void clear_version_number();
414 ::PROTOBUF_NAMESPACE_ID::int32 version_number() const;
415 void set_version_number(::PROTOBUF_NAMESPACE_ID::int32 value);
416
417 // @@protoc_insertion_point(class_scope:tensorflow.TensorProto)
418 private:
419 class _Internal;
420
421 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
422 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
423 typedef void InternalArenaConstructable_;
424 typedef void DestructorSkippable_;
425 ::PROTOBUF_NAMESPACE_ID::RepeatedField< float > float_val_;
426 mutable std::atomic<int> _float_val_cached_byte_size_;
427 ::PROTOBUF_NAMESPACE_ID::RepeatedField< double > double_val_;
428 mutable std::atomic<int> _double_val_cached_byte_size_;
429 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > int_val_;
430 mutable std::atomic<int> _int_val_cached_byte_size_;
431 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> string_val_;
432 ::PROTOBUF_NAMESPACE_ID::RepeatedField< float > scomplex_val_;
433 mutable std::atomic<int> _scomplex_val_cached_byte_size_;
434 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 > int64_val_;
435 mutable std::atomic<int> _int64_val_cached_byte_size_;
436 ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool > bool_val_;
437 mutable std::atomic<int> _bool_val_cached_byte_size_;
438 ::PROTOBUF_NAMESPACE_ID::RepeatedField< double > dcomplex_val_;
439 mutable std::atomic<int> _dcomplex_val_cached_byte_size_;
440 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > half_val_;
441 mutable std::atomic<int> _half_val_cached_byte_size_;
442 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::ResourceHandleProto > resource_handle_val_;
443 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::VariantTensorDataProto > variant_val_;
444 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 > uint32_val_;
445 mutable std::atomic<int> _uint32_val_cached_byte_size_;
446 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint64 > uint64_val_;
447 mutable std::atomic<int> _uint64_val_cached_byte_size_;
448 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr tensor_content_;
449 ::tensorflow::TensorShapeProto* tensor_shape_;
450 int dtype_;
451 ::PROTOBUF_NAMESPACE_ID::int32 version_number_;
452 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
453 friend struct ::TableStruct_tensorflow_2fcore_2fframework_2ftensor_2eproto;
454};
455// -------------------------------------------------------------------
456
457class VariantTensorDataProto :
458 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.VariantTensorDataProto) */ {
459 public:
460 VariantTensorDataProto();
461 virtual ~VariantTensorDataProto();
462
463 VariantTensorDataProto(const VariantTensorDataProto& from);
464 VariantTensorDataProto(VariantTensorDataProto&& from) noexcept
465 : VariantTensorDataProto() {
466 *this = ::std::move(from);
467 }
468
469 inline VariantTensorDataProto& operator=(const VariantTensorDataProto& from) {
470 CopyFrom(from);
471 return *this;
472 }
473 inline VariantTensorDataProto& operator=(VariantTensorDataProto&& from) noexcept {
474 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
475 if (this != &from) InternalSwap(&from);
476 } else {
477 CopyFrom(from);
478 }
479 return *this;
480 }
481
482 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
483 return GetArenaNoVirtual();
484 }
485 inline void* GetMaybeArenaPointer() const final {
486 return MaybeArenaPtr();
487 }
488 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
489 return GetDescriptor();
490 }
491 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
492 return GetMetadataStatic().descriptor;
493 }
494 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
495 return GetMetadataStatic().reflection;
496 }
497 static const VariantTensorDataProto& default_instance();
498
499 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
500 static inline const VariantTensorDataProto* internal_default_instance() {
501 return reinterpret_cast<const VariantTensorDataProto*>(
502 &_VariantTensorDataProto_default_instance_);
503 }
504 static constexpr int kIndexInFileMessages =
505 1;
506
507 friend void swap(VariantTensorDataProto& a, VariantTensorDataProto& b) {
508 a.Swap(&b);
509 }
510 inline void Swap(VariantTensorDataProto* other) {
511 if (other == this) return;
512 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
513 InternalSwap(other);
514 } else {
515 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
516 }
517 }
518 void UnsafeArenaSwap(VariantTensorDataProto* other) {
519 if (other == this) return;
520 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
521 InternalSwap(other);
522 }
523
524 // implements Message ----------------------------------------------
525
526 inline VariantTensorDataProto* New() const final {
527 return CreateMaybeMessage<VariantTensorDataProto>(nullptr);
528 }
529
530 VariantTensorDataProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
531 return CreateMaybeMessage<VariantTensorDataProto>(arena);
532 }
533 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
534 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
535 void CopyFrom(const VariantTensorDataProto& from);
536 void MergeFrom(const VariantTensorDataProto& from);
537 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
538 bool IsInitialized() const final;
539
540 size_t ByteSizeLong() const final;
541 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
542 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
543 #else
544 bool MergePartialFromCodedStream(
545 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
546 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
547 void SerializeWithCachedSizes(
548 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
549 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
550 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
551 int GetCachedSize() const final { return _cached_size_.Get(); }
552
553 private:
554 inline void SharedCtor();
555 inline void SharedDtor();
556 void SetCachedSize(int size) const final;
557 void InternalSwap(VariantTensorDataProto* other);
558 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
559 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
560 return "tensorflow.VariantTensorDataProto";
561 }
562 protected:
563 explicit VariantTensorDataProto(::PROTOBUF_NAMESPACE_ID::Arena* arena);
564 private:
565 static void ArenaDtor(void* object);
566 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
567 private:
568 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
569 return _internal_metadata_.arena();
570 }
571 inline void* MaybeArenaPtr() const {
572 return _internal_metadata_.raw_arena_ptr();
573 }
574 public:
575
576 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
577 private:
578 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
579 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fframework_2ftensor_2eproto);
580 return ::descriptor_table_tensorflow_2fcore_2fframework_2ftensor_2eproto.file_level_metadata[kIndexInFileMessages];
581 }
582
583 public:
584
585 // nested types ----------------------------------------------------
586
587 // accessors -------------------------------------------------------
588
589 enum : int {
590 kTensorsFieldNumber = 3,
591 kTypeNameFieldNumber = 1,
592 kMetadataFieldNumber = 2,
593 };
594 // repeated .tensorflow.TensorProto tensors = 3;
595 int tensors_size() const;
596 void clear_tensors();
597 ::tensorflow::TensorProto* mutable_tensors(int index);
598 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::TensorProto >*
599 mutable_tensors();
600 const ::tensorflow::TensorProto& tensors(int index) const;
601 ::tensorflow::TensorProto* add_tensors();
602 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::TensorProto >&
603 tensors() const;
604
605 // string type_name = 1;
606 void clear_type_name();
607 const std::string& type_name() const;
608 void set_type_name(const std::string& value);
609 void set_type_name(std::string&& value);
610 void set_type_name(const char* value);
611 void set_type_name(const char* value, size_t size);
612 std::string* mutable_type_name();
613 std::string* release_type_name();
614 void set_allocated_type_name(std::string* type_name);
615 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
616 " string fields are deprecated and will be removed in a"
617 " future release.")
618 std::string* unsafe_arena_release_type_name();
619 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
620 " string fields are deprecated and will be removed in a"
621 " future release.")
622 void unsafe_arena_set_allocated_type_name(
623 std::string* type_name);
624
625 // bytes metadata = 2;
626 void clear_metadata();
627 const std::string& metadata() const;
628 void set_metadata(const std::string& value);
629 void set_metadata(std::string&& value);
630 void set_metadata(const char* value);
631 void set_metadata(const void* value, size_t size);
632 std::string* mutable_metadata();
633 std::string* release_metadata();
634 void set_allocated_metadata(std::string* metadata);
635 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
636 " string fields are deprecated and will be removed in a"
637 " future release.")
638 std::string* unsafe_arena_release_metadata();
639 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
640 " string fields are deprecated and will be removed in a"
641 " future release.")
642 void unsafe_arena_set_allocated_metadata(
643 std::string* metadata);
644
645 // @@protoc_insertion_point(class_scope:tensorflow.VariantTensorDataProto)
646 private:
647 class _Internal;
648
649 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
650 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
651 typedef void InternalArenaConstructable_;
652 typedef void DestructorSkippable_;
653 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::TensorProto > tensors_;
654 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_name_;
655 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr metadata_;
656 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
657 friend struct ::TableStruct_tensorflow_2fcore_2fframework_2ftensor_2eproto;
658};
659// ===================================================================
660
661
662// ===================================================================
663
664#ifdef __GNUC__
665 #pragma GCC diagnostic push
666 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
667#endif // __GNUC__
668// TensorProto
669
670// .tensorflow.DataType dtype = 1;
671inline void TensorProto::clear_dtype() {
672 dtype_ = 0;
673}
674inline ::tensorflow::DataType TensorProto::dtype() const {
675 // @@protoc_insertion_point(field_get:tensorflow.TensorProto.dtype)
676 return static_cast< ::tensorflow::DataType >(dtype_);
677}
678inline void TensorProto::set_dtype(::tensorflow::DataType value) {
679
680 dtype_ = value;
681 // @@protoc_insertion_point(field_set:tensorflow.TensorProto.dtype)
682}
683
684// .tensorflow.TensorShapeProto tensor_shape = 2;
685inline bool TensorProto::has_tensor_shape() const {
686 return this != internal_default_instance() && tensor_shape_ != nullptr;
687}
688inline const ::tensorflow::TensorShapeProto& TensorProto::tensor_shape() const {
689 const ::tensorflow::TensorShapeProto* p = tensor_shape_;
690 // @@protoc_insertion_point(field_get:tensorflow.TensorProto.tensor_shape)
691 return p != nullptr ? *p : *reinterpret_cast<const ::tensorflow::TensorShapeProto*>(
692 &::tensorflow::_TensorShapeProto_default_instance_);
693}
694inline ::tensorflow::TensorShapeProto* TensorProto::release_tensor_shape() {
695 // @@protoc_insertion_point(field_release:tensorflow.TensorProto.tensor_shape)
696
697 ::tensorflow::TensorShapeProto* temp = tensor_shape_;
698 if (GetArenaNoVirtual() != nullptr) {
699 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
700 }
701 tensor_shape_ = nullptr;
702 return temp;
703}
704inline ::tensorflow::TensorShapeProto* TensorProto::unsafe_arena_release_tensor_shape() {
705 // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.TensorProto.tensor_shape)
706
707 ::tensorflow::TensorShapeProto* temp = tensor_shape_;
708 tensor_shape_ = nullptr;
709 return temp;
710}
711inline ::tensorflow::TensorShapeProto* TensorProto::mutable_tensor_shape() {
712
713 if (tensor_shape_ == nullptr) {
714 auto* p = CreateMaybeMessage<::tensorflow::TensorShapeProto>(GetArenaNoVirtual());
715 tensor_shape_ = p;
716 }
717 // @@protoc_insertion_point(field_mutable:tensorflow.TensorProto.tensor_shape)
718 return tensor_shape_;
719}
720inline void TensorProto::set_allocated_tensor_shape(::tensorflow::TensorShapeProto* tensor_shape) {
721 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
722 if (message_arena == nullptr) {
723 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(tensor_shape_);
724 }
725 if (tensor_shape) {
726 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
727 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(tensor_shape)->GetArena();
728 if (message_arena != submessage_arena) {
729 tensor_shape = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
730 message_arena, tensor_shape, submessage_arena);
731 }
732
733 } else {
734
735 }
736 tensor_shape_ = tensor_shape;
737 // @@protoc_insertion_point(field_set_allocated:tensorflow.TensorProto.tensor_shape)
738}
739
740// int32 version_number = 3;
741inline void TensorProto::clear_version_number() {
742 version_number_ = 0;
743}
744inline ::PROTOBUF_NAMESPACE_ID::int32 TensorProto::version_number() const {
745 // @@protoc_insertion_point(field_get:tensorflow.TensorProto.version_number)
746 return version_number_;
747}
748inline void TensorProto::set_version_number(::PROTOBUF_NAMESPACE_ID::int32 value) {
749
750 version_number_ = value;
751 // @@protoc_insertion_point(field_set:tensorflow.TensorProto.version_number)
752}
753
754// bytes tensor_content = 4;
755inline void TensorProto::clear_tensor_content() {
756 tensor_content_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
757}
758inline const std::string& TensorProto::tensor_content() const {
759 // @@protoc_insertion_point(field_get:tensorflow.TensorProto.tensor_content)
760 return tensor_content_.Get();
761}
762inline void TensorProto::set_tensor_content(const std::string& value) {
763
764 tensor_content_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
765 // @@protoc_insertion_point(field_set:tensorflow.TensorProto.tensor_content)
766}
767inline void TensorProto::set_tensor_content(std::string&& value) {
768
769 tensor_content_.Set(
770 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
771 // @@protoc_insertion_point(field_set_rvalue:tensorflow.TensorProto.tensor_content)
772}
773inline void TensorProto::set_tensor_content(const char* value) {
774 GOOGLE_DCHECK(value != nullptr);
775
776 tensor_content_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
777 GetArenaNoVirtual());
778 // @@protoc_insertion_point(field_set_char:tensorflow.TensorProto.tensor_content)
779}
780inline void TensorProto::set_tensor_content(const void* value,
781 size_t size) {
782
783 tensor_content_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
784 reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
785 // @@protoc_insertion_point(field_set_pointer:tensorflow.TensorProto.tensor_content)
786}
787inline std::string* TensorProto::mutable_tensor_content() {
788
789 // @@protoc_insertion_point(field_mutable:tensorflow.TensorProto.tensor_content)
790 return tensor_content_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
791}
792inline std::string* TensorProto::release_tensor_content() {
793 // @@protoc_insertion_point(field_release:tensorflow.TensorProto.tensor_content)
794
795 return tensor_content_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
796}
797inline void TensorProto::set_allocated_tensor_content(std::string* tensor_content) {
798 if (tensor_content != nullptr) {
799
800 } else {
801
802 }
803 tensor_content_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), tensor_content,
804 GetArenaNoVirtual());
805 // @@protoc_insertion_point(field_set_allocated:tensorflow.TensorProto.tensor_content)
806}
807inline std::string* TensorProto::unsafe_arena_release_tensor_content() {
808 // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.TensorProto.tensor_content)
809 GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
810
811 return tensor_content_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
812 GetArenaNoVirtual());
813}
814inline void TensorProto::unsafe_arena_set_allocated_tensor_content(
815 std::string* tensor_content) {
816 GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
817 if (tensor_content != nullptr) {
818
819 } else {
820
821 }
822 tensor_content_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
823 tensor_content, GetArenaNoVirtual());
824 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.TensorProto.tensor_content)
825}
826
827// repeated int32 half_val = 13 [packed = true];
828inline int TensorProto::half_val_size() const {
829 return half_val_.size();
830}
831inline void TensorProto::clear_half_val() {
832 half_val_.Clear();
833}
834inline ::PROTOBUF_NAMESPACE_ID::int32 TensorProto::half_val(int index) const {
835 // @@protoc_insertion_point(field_get:tensorflow.TensorProto.half_val)
836 return half_val_.Get(index);
837}
838inline void TensorProto::set_half_val(int index, ::PROTOBUF_NAMESPACE_ID::int32 value) {
839 half_val_.Set(index, value);
840 // @@protoc_insertion_point(field_set:tensorflow.TensorProto.half_val)
841}
842inline void TensorProto::add_half_val(::PROTOBUF_NAMESPACE_ID::int32 value) {
843 half_val_.Add(value);
844 // @@protoc_insertion_point(field_add:tensorflow.TensorProto.half_val)
845}
846inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
847TensorProto::half_val() const {
848 // @@protoc_insertion_point(field_list:tensorflow.TensorProto.half_val)
849 return half_val_;
850}
851inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
852TensorProto::mutable_half_val() {
853 // @@protoc_insertion_point(field_mutable_list:tensorflow.TensorProto.half_val)
854 return &half_val_;
855}
856
857// repeated float float_val = 5 [packed = true];
858inline int TensorProto::float_val_size() const {
859 return float_val_.size();
860}
861inline void TensorProto::clear_float_val() {
862 float_val_.Clear();
863}
864inline float TensorProto::float_val(int index) const {
865 // @@protoc_insertion_point(field_get:tensorflow.TensorProto.float_val)
866 return float_val_.Get(index);
867}
868inline void TensorProto::set_float_val(int index, float value) {
869 float_val_.Set(index, value);
870 // @@protoc_insertion_point(field_set:tensorflow.TensorProto.float_val)
871}
872inline void TensorProto::add_float_val(float value) {
873 float_val_.Add(value);
874 // @@protoc_insertion_point(field_add:tensorflow.TensorProto.float_val)
875}
876inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
877TensorProto::float_val() const {
878 // @@protoc_insertion_point(field_list:tensorflow.TensorProto.float_val)
879 return float_val_;
880}
881inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
882TensorProto::mutable_float_val() {
883 // @@protoc_insertion_point(field_mutable_list:tensorflow.TensorProto.float_val)
884 return &float_val_;
885}
886
887// repeated double double_val = 6 [packed = true];
888inline int TensorProto::double_val_size() const {
889 return double_val_.size();
890}
891inline void TensorProto::clear_double_val() {
892 double_val_.Clear();
893}
894inline double TensorProto::double_val(int index) const {
895 // @@protoc_insertion_point(field_get:tensorflow.TensorProto.double_val)
896 return double_val_.Get(index);
897}
898inline void TensorProto::set_double_val(int index, double value) {
899 double_val_.Set(index, value);
900 // @@protoc_insertion_point(field_set:tensorflow.TensorProto.double_val)
901}
902inline void TensorProto::add_double_val(double value) {
903 double_val_.Add(value);
904 // @@protoc_insertion_point(field_add:tensorflow.TensorProto.double_val)
905}
906inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
907TensorProto::double_val() const {
908 // @@protoc_insertion_point(field_list:tensorflow.TensorProto.double_val)
909 return double_val_;
910}
911inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
912TensorProto::mutable_double_val() {
913 // @@protoc_insertion_point(field_mutable_list:tensorflow.TensorProto.double_val)
914 return &double_val_;
915}
916
917// repeated int32 int_val = 7 [packed = true];
918inline int TensorProto::int_val_size() const {
919 return int_val_.size();
920}
921inline void TensorProto::clear_int_val() {
922 int_val_.Clear();
923}
924inline ::PROTOBUF_NAMESPACE_ID::int32 TensorProto::int_val(int index) const {
925 // @@protoc_insertion_point(field_get:tensorflow.TensorProto.int_val)
926 return int_val_.Get(index);
927}
928inline void TensorProto::set_int_val(int index, ::PROTOBUF_NAMESPACE_ID::int32 value) {
929 int_val_.Set(index, value);
930 // @@protoc_insertion_point(field_set:tensorflow.TensorProto.int_val)
931}
932inline void TensorProto::add_int_val(::PROTOBUF_NAMESPACE_ID::int32 value) {
933 int_val_.Add(value);
934 // @@protoc_insertion_point(field_add:tensorflow.TensorProto.int_val)
935}
936inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
937TensorProto::int_val() const {
938 // @@protoc_insertion_point(field_list:tensorflow.TensorProto.int_val)
939 return int_val_;
940}
941inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
942TensorProto::mutable_int_val() {
943 // @@protoc_insertion_point(field_mutable_list:tensorflow.TensorProto.int_val)
944 return &int_val_;
945}
946
947// repeated bytes string_val = 8;
948inline int TensorProto::string_val_size() const {
949 return string_val_.size();
950}
951inline void TensorProto::clear_string_val() {
952 string_val_.Clear();
953}
954inline const std::string& TensorProto::string_val(int index) const {
955 // @@protoc_insertion_point(field_get:tensorflow.TensorProto.string_val)
956 return string_val_.Get(index);
957}
958inline std::string* TensorProto::mutable_string_val(int index) {
959 // @@protoc_insertion_point(field_mutable:tensorflow.TensorProto.string_val)
960 return string_val_.Mutable(index);
961}
962inline void TensorProto::set_string_val(int index, const std::string& value) {
963 // @@protoc_insertion_point(field_set:tensorflow.TensorProto.string_val)
964 string_val_.Mutable(index)->assign(value);
965}
966inline void TensorProto::set_string_val(int index, std::string&& value) {
967 // @@protoc_insertion_point(field_set:tensorflow.TensorProto.string_val)
968 string_val_.Mutable(index)->assign(std::move(value));
969}
970inline void TensorProto::set_string_val(int index, const char* value) {
971 GOOGLE_DCHECK(value != nullptr);
972 string_val_.Mutable(index)->assign(value);
973 // @@protoc_insertion_point(field_set_char:tensorflow.TensorProto.string_val)
974}
975inline void TensorProto::set_string_val(int index, const void* value, size_t size) {
976 string_val_.Mutable(index)->assign(
977 reinterpret_cast<const char*>(value), size);
978 // @@protoc_insertion_point(field_set_pointer:tensorflow.TensorProto.string_val)
979}
980inline std::string* TensorProto::add_string_val() {
981 // @@protoc_insertion_point(field_add_mutable:tensorflow.TensorProto.string_val)
982 return string_val_.Add();
983}
984inline void TensorProto::add_string_val(const std::string& value) {
985 string_val_.Add()->assign(value);
986 // @@protoc_insertion_point(field_add:tensorflow.TensorProto.string_val)
987}
988inline void TensorProto::add_string_val(std::string&& value) {
989 string_val_.Add(std::move(value));
990 // @@protoc_insertion_point(field_add:tensorflow.TensorProto.string_val)
991}
992inline void TensorProto::add_string_val(const char* value) {
993 GOOGLE_DCHECK(value != nullptr);
994 string_val_.Add()->assign(value);
995 // @@protoc_insertion_point(field_add_char:tensorflow.TensorProto.string_val)
996}
997inline void TensorProto::add_string_val(const void* value, size_t size) {
998 string_val_.Add()->assign(reinterpret_cast<const char*>(value), size);
999 // @@protoc_insertion_point(field_add_pointer:tensorflow.TensorProto.string_val)
1000}
1001inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
1002TensorProto::string_val() const {
1003 // @@protoc_insertion_point(field_list:tensorflow.TensorProto.string_val)
1004 return string_val_;
1005}
1006inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
1007TensorProto::mutable_string_val() {
1008 // @@protoc_insertion_point(field_mutable_list:tensorflow.TensorProto.string_val)
1009 return &string_val_;
1010}
1011
1012// repeated float scomplex_val = 9 [packed = true];
1013inline int TensorProto::scomplex_val_size() const {
1014 return scomplex_val_.size();
1015}
1016inline void TensorProto::clear_scomplex_val() {
1017 scomplex_val_.Clear();
1018}
1019inline float TensorProto::scomplex_val(int index) const {
1020 // @@protoc_insertion_point(field_get:tensorflow.TensorProto.scomplex_val)
1021 return scomplex_val_.Get(index);
1022}
1023inline void TensorProto::set_scomplex_val(int index, float value) {
1024 scomplex_val_.Set(index, value);
1025 // @@protoc_insertion_point(field_set:tensorflow.TensorProto.scomplex_val)
1026}
1027inline void TensorProto::add_scomplex_val(float value) {
1028 scomplex_val_.Add(value);
1029 // @@protoc_insertion_point(field_add:tensorflow.TensorProto.scomplex_val)
1030}
1031inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
1032TensorProto::scomplex_val() const {
1033 // @@protoc_insertion_point(field_list:tensorflow.TensorProto.scomplex_val)
1034 return scomplex_val_;
1035}
1036inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
1037TensorProto::mutable_scomplex_val() {
1038 // @@protoc_insertion_point(field_mutable_list:tensorflow.TensorProto.scomplex_val)
1039 return &scomplex_val_;
1040}
1041
1042// repeated int64 int64_val = 10 [packed = true];
1043inline int TensorProto::int64_val_size() const {
1044 return int64_val_.size();
1045}
1046inline void TensorProto::clear_int64_val() {
1047 int64_val_.Clear();
1048}
1049inline ::PROTOBUF_NAMESPACE_ID::int64 TensorProto::int64_val(int index) const {
1050 // @@protoc_insertion_point(field_get:tensorflow.TensorProto.int64_val)
1051 return int64_val_.Get(index);
1052}
1053inline void TensorProto::set_int64_val(int index, ::PROTOBUF_NAMESPACE_ID::int64 value) {
1054 int64_val_.Set(index, value);
1055 // @@protoc_insertion_point(field_set:tensorflow.TensorProto.int64_val)
1056}
1057inline void TensorProto::add_int64_val(::PROTOBUF_NAMESPACE_ID::int64 value) {
1058 int64_val_.Add(value);
1059 // @@protoc_insertion_point(field_add:tensorflow.TensorProto.int64_val)
1060}
1061inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >&
1062TensorProto::int64_val() const {
1063 // @@protoc_insertion_point(field_list:tensorflow.TensorProto.int64_val)
1064 return int64_val_;
1065}
1066inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >*
1067TensorProto::mutable_int64_val() {
1068 // @@protoc_insertion_point(field_mutable_list:tensorflow.TensorProto.int64_val)
1069 return &int64_val_;
1070}
1071
1072// repeated bool bool_val = 11 [packed = true];
1073inline int TensorProto::bool_val_size() const {
1074 return bool_val_.size();
1075}
1076inline void TensorProto::clear_bool_val() {
1077 bool_val_.Clear();
1078}
1079inline bool TensorProto::bool_val(int index) const {
1080 // @@protoc_insertion_point(field_get:tensorflow.TensorProto.bool_val)
1081 return bool_val_.Get(index);
1082}
1083inline void TensorProto::set_bool_val(int index, bool value) {
1084 bool_val_.Set(index, value);
1085 // @@protoc_insertion_point(field_set:tensorflow.TensorProto.bool_val)
1086}
1087inline void TensorProto::add_bool_val(bool value) {
1088 bool_val_.Add(value);
1089 // @@protoc_insertion_point(field_add:tensorflow.TensorProto.bool_val)
1090}
1091inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >&
1092TensorProto::bool_val() const {
1093 // @@protoc_insertion_point(field_list:tensorflow.TensorProto.bool_val)
1094 return bool_val_;
1095}
1096inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >*
1097TensorProto::mutable_bool_val() {
1098 // @@protoc_insertion_point(field_mutable_list:tensorflow.TensorProto.bool_val)
1099 return &bool_val_;
1100}
1101
1102// repeated double dcomplex_val = 12 [packed = true];
1103inline int TensorProto::dcomplex_val_size() const {
1104 return dcomplex_val_.size();
1105}
1106inline void TensorProto::clear_dcomplex_val() {
1107 dcomplex_val_.Clear();
1108}
1109inline double TensorProto::dcomplex_val(int index) const {
1110 // @@protoc_insertion_point(field_get:tensorflow.TensorProto.dcomplex_val)
1111 return dcomplex_val_.Get(index);
1112}
1113inline void TensorProto::set_dcomplex_val(int index, double value) {
1114 dcomplex_val_.Set(index, value);
1115 // @@protoc_insertion_point(field_set:tensorflow.TensorProto.dcomplex_val)
1116}
1117inline void TensorProto::add_dcomplex_val(double value) {
1118 dcomplex_val_.Add(value);
1119 // @@protoc_insertion_point(field_add:tensorflow.TensorProto.dcomplex_val)
1120}
1121inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
1122TensorProto::dcomplex_val() const {
1123 // @@protoc_insertion_point(field_list:tensorflow.TensorProto.dcomplex_val)
1124 return dcomplex_val_;
1125}
1126inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
1127TensorProto::mutable_dcomplex_val() {
1128 // @@protoc_insertion_point(field_mutable_list:tensorflow.TensorProto.dcomplex_val)
1129 return &dcomplex_val_;
1130}
1131
1132// repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
1133inline int TensorProto::resource_handle_val_size() const {
1134 return resource_handle_val_.size();
1135}
1136inline ::tensorflow::ResourceHandleProto* TensorProto::mutable_resource_handle_val(int index) {
1137 // @@protoc_insertion_point(field_mutable:tensorflow.TensorProto.resource_handle_val)
1138 return resource_handle_val_.Mutable(index);
1139}
1140inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::ResourceHandleProto >*
1141TensorProto::mutable_resource_handle_val() {
1142 // @@protoc_insertion_point(field_mutable_list:tensorflow.TensorProto.resource_handle_val)
1143 return &resource_handle_val_;
1144}
1145inline const ::tensorflow::ResourceHandleProto& TensorProto::resource_handle_val(int index) const {
1146 // @@protoc_insertion_point(field_get:tensorflow.TensorProto.resource_handle_val)
1147 return resource_handle_val_.Get(index);
1148}
1149inline ::tensorflow::ResourceHandleProto* TensorProto::add_resource_handle_val() {
1150 // @@protoc_insertion_point(field_add:tensorflow.TensorProto.resource_handle_val)
1151 return resource_handle_val_.Add();
1152}
1153inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::ResourceHandleProto >&
1154TensorProto::resource_handle_val() const {
1155 // @@protoc_insertion_point(field_list:tensorflow.TensorProto.resource_handle_val)
1156 return resource_handle_val_;
1157}
1158
1159// repeated .tensorflow.VariantTensorDataProto variant_val = 15;
1160inline int TensorProto::variant_val_size() const {
1161 return variant_val_.size();
1162}
1163inline void TensorProto::clear_variant_val() {
1164 variant_val_.Clear();
1165}
1166inline ::tensorflow::VariantTensorDataProto* TensorProto::mutable_variant_val(int index) {
1167 // @@protoc_insertion_point(field_mutable:tensorflow.TensorProto.variant_val)
1168 return variant_val_.Mutable(index);
1169}
1170inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::VariantTensorDataProto >*
1171TensorProto::mutable_variant_val() {
1172 // @@protoc_insertion_point(field_mutable_list:tensorflow.TensorProto.variant_val)
1173 return &variant_val_;
1174}
1175inline const ::tensorflow::VariantTensorDataProto& TensorProto::variant_val(int index) const {
1176 // @@protoc_insertion_point(field_get:tensorflow.TensorProto.variant_val)
1177 return variant_val_.Get(index);
1178}
1179inline ::tensorflow::VariantTensorDataProto* TensorProto::add_variant_val() {
1180 // @@protoc_insertion_point(field_add:tensorflow.TensorProto.variant_val)
1181 return variant_val_.Add();
1182}
1183inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::VariantTensorDataProto >&
1184TensorProto::variant_val() const {
1185 // @@protoc_insertion_point(field_list:tensorflow.TensorProto.variant_val)
1186 return variant_val_;
1187}
1188
1189// repeated uint32 uint32_val = 16 [packed = true];
1190inline int TensorProto::uint32_val_size() const {
1191 return uint32_val_.size();
1192}
1193inline void TensorProto::clear_uint32_val() {
1194 uint32_val_.Clear();
1195}
1196inline ::PROTOBUF_NAMESPACE_ID::uint32 TensorProto::uint32_val(int index) const {
1197 // @@protoc_insertion_point(field_get:tensorflow.TensorProto.uint32_val)
1198 return uint32_val_.Get(index);
1199}
1200inline void TensorProto::set_uint32_val(int index, ::PROTOBUF_NAMESPACE_ID::uint32 value) {
1201 uint32_val_.Set(index, value);
1202 // @@protoc_insertion_point(field_set:tensorflow.TensorProto.uint32_val)
1203}
1204inline void TensorProto::add_uint32_val(::PROTOBUF_NAMESPACE_ID::uint32 value) {
1205 uint32_val_.Add(value);
1206 // @@protoc_insertion_point(field_add:tensorflow.TensorProto.uint32_val)
1207}
1208inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >&
1209TensorProto::uint32_val() const {
1210 // @@protoc_insertion_point(field_list:tensorflow.TensorProto.uint32_val)
1211 return uint32_val_;
1212}
1213inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >*
1214TensorProto::mutable_uint32_val() {
1215 // @@protoc_insertion_point(field_mutable_list:tensorflow.TensorProto.uint32_val)
1216 return &uint32_val_;
1217}
1218
1219// repeated uint64 uint64_val = 17 [packed = true];
1220inline int TensorProto::uint64_val_size() const {
1221 return uint64_val_.size();
1222}
1223inline void TensorProto::clear_uint64_val() {
1224 uint64_val_.Clear();
1225}
1226inline ::PROTOBUF_NAMESPACE_ID::uint64 TensorProto::uint64_val(int index) const {
1227 // @@protoc_insertion_point(field_get:tensorflow.TensorProto.uint64_val)
1228 return uint64_val_.Get(index);
1229}
1230inline void TensorProto::set_uint64_val(int index, ::PROTOBUF_NAMESPACE_ID::uint64 value) {
1231 uint64_val_.Set(index, value);
1232 // @@protoc_insertion_point(field_set:tensorflow.TensorProto.uint64_val)
1233}
1234inline void TensorProto::add_uint64_val(::PROTOBUF_NAMESPACE_ID::uint64 value) {
1235 uint64_val_.Add(value);
1236 // @@protoc_insertion_point(field_add:tensorflow.TensorProto.uint64_val)
1237}
1238inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint64 >&
1239TensorProto::uint64_val() const {
1240 // @@protoc_insertion_point(field_list:tensorflow.TensorProto.uint64_val)
1241 return uint64_val_;
1242}
1243inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint64 >*
1244TensorProto::mutable_uint64_val() {
1245 // @@protoc_insertion_point(field_mutable_list:tensorflow.TensorProto.uint64_val)
1246 return &uint64_val_;
1247}
1248
1249// -------------------------------------------------------------------
1250
1251// VariantTensorDataProto
1252
1253// string type_name = 1;
1254inline void VariantTensorDataProto::clear_type_name() {
1255 type_name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
1256}
1257inline const std::string& VariantTensorDataProto::type_name() const {
1258 // @@protoc_insertion_point(field_get:tensorflow.VariantTensorDataProto.type_name)
1259 return type_name_.Get();
1260}
1261inline void VariantTensorDataProto::set_type_name(const std::string& value) {
1262
1263 type_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
1264 // @@protoc_insertion_point(field_set:tensorflow.VariantTensorDataProto.type_name)
1265}
1266inline void VariantTensorDataProto::set_type_name(std::string&& value) {
1267
1268 type_name_.Set(
1269 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
1270 // @@protoc_insertion_point(field_set_rvalue:tensorflow.VariantTensorDataProto.type_name)
1271}
1272inline void VariantTensorDataProto::set_type_name(const char* value) {
1273 GOOGLE_DCHECK(value != nullptr);
1274
1275 type_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
1276 GetArenaNoVirtual());
1277 // @@protoc_insertion_point(field_set_char:tensorflow.VariantTensorDataProto.type_name)
1278}
1279inline void VariantTensorDataProto::set_type_name(const char* value,
1280 size_t size) {
1281
1282 type_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
1283 reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
1284 // @@protoc_insertion_point(field_set_pointer:tensorflow.VariantTensorDataProto.type_name)
1285}
1286inline std::string* VariantTensorDataProto::mutable_type_name() {
1287
1288 // @@protoc_insertion_point(field_mutable:tensorflow.VariantTensorDataProto.type_name)
1289 return type_name_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
1290}
1291inline std::string* VariantTensorDataProto::release_type_name() {
1292 // @@protoc_insertion_point(field_release:tensorflow.VariantTensorDataProto.type_name)
1293
1294 return type_name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
1295}
1296inline void VariantTensorDataProto::set_allocated_type_name(std::string* type_name) {
1297 if (type_name != nullptr) {
1298
1299 } else {
1300
1301 }
1302 type_name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type_name,
1303 GetArenaNoVirtual());
1304 // @@protoc_insertion_point(field_set_allocated:tensorflow.VariantTensorDataProto.type_name)
1305}
1306inline std::string* VariantTensorDataProto::unsafe_arena_release_type_name() {
1307 // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.VariantTensorDataProto.type_name)
1308 GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
1309
1310 return type_name_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1311 GetArenaNoVirtual());
1312}
1313inline void VariantTensorDataProto::unsafe_arena_set_allocated_type_name(
1314 std::string* type_name) {
1315 GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
1316 if (type_name != nullptr) {
1317
1318 } else {
1319
1320 }
1321 type_name_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1322 type_name, GetArenaNoVirtual());
1323 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.VariantTensorDataProto.type_name)
1324}
1325
1326// bytes metadata = 2;
1327inline void VariantTensorDataProto::clear_metadata() {
1328 metadata_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
1329}
1330inline const std::string& VariantTensorDataProto::metadata() const {
1331 // @@protoc_insertion_point(field_get:tensorflow.VariantTensorDataProto.metadata)
1332 return metadata_.Get();
1333}
1334inline void VariantTensorDataProto::set_metadata(const std::string& value) {
1335
1336 metadata_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
1337 // @@protoc_insertion_point(field_set:tensorflow.VariantTensorDataProto.metadata)
1338}
1339inline void VariantTensorDataProto::set_metadata(std::string&& value) {
1340
1341 metadata_.Set(
1342 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
1343 // @@protoc_insertion_point(field_set_rvalue:tensorflow.VariantTensorDataProto.metadata)
1344}
1345inline void VariantTensorDataProto::set_metadata(const char* value) {
1346 GOOGLE_DCHECK(value != nullptr);
1347
1348 metadata_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
1349 GetArenaNoVirtual());
1350 // @@protoc_insertion_point(field_set_char:tensorflow.VariantTensorDataProto.metadata)
1351}
1352inline void VariantTensorDataProto::set_metadata(const void* value,
1353 size_t size) {
1354
1355 metadata_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
1356 reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
1357 // @@protoc_insertion_point(field_set_pointer:tensorflow.VariantTensorDataProto.metadata)
1358}
1359inline std::string* VariantTensorDataProto::mutable_metadata() {
1360
1361 // @@protoc_insertion_point(field_mutable:tensorflow.VariantTensorDataProto.metadata)
1362 return metadata_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
1363}
1364inline std::string* VariantTensorDataProto::release_metadata() {
1365 // @@protoc_insertion_point(field_release:tensorflow.VariantTensorDataProto.metadata)
1366
1367 return metadata_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
1368}
1369inline void VariantTensorDataProto::set_allocated_metadata(std::string* metadata) {
1370 if (metadata != nullptr) {
1371
1372 } else {
1373
1374 }
1375 metadata_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), metadata,
1376 GetArenaNoVirtual());
1377 // @@protoc_insertion_point(field_set_allocated:tensorflow.VariantTensorDataProto.metadata)
1378}
1379inline std::string* VariantTensorDataProto::unsafe_arena_release_metadata() {
1380 // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.VariantTensorDataProto.metadata)
1381 GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
1382
1383 return metadata_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1384 GetArenaNoVirtual());
1385}
1386inline void VariantTensorDataProto::unsafe_arena_set_allocated_metadata(
1387 std::string* metadata) {
1388 GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
1389 if (metadata != nullptr) {
1390
1391 } else {
1392
1393 }
1394 metadata_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1395 metadata, GetArenaNoVirtual());
1396 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.VariantTensorDataProto.metadata)
1397}
1398
1399// repeated .tensorflow.TensorProto tensors = 3;
1400inline int VariantTensorDataProto::tensors_size() const {
1401 return tensors_.size();
1402}
1403inline void VariantTensorDataProto::clear_tensors() {
1404 tensors_.Clear();
1405}
1406inline ::tensorflow::TensorProto* VariantTensorDataProto::mutable_tensors(int index) {
1407 // @@protoc_insertion_point(field_mutable:tensorflow.VariantTensorDataProto.tensors)
1408 return tensors_.Mutable(index);
1409}
1410inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::TensorProto >*
1411VariantTensorDataProto::mutable_tensors() {
1412 // @@protoc_insertion_point(field_mutable_list:tensorflow.VariantTensorDataProto.tensors)
1413 return &tensors_;
1414}
1415inline const ::tensorflow::TensorProto& VariantTensorDataProto::tensors(int index) const {
1416 // @@protoc_insertion_point(field_get:tensorflow.VariantTensorDataProto.tensors)
1417 return tensors_.Get(index);
1418}
1419inline ::tensorflow::TensorProto* VariantTensorDataProto::add_tensors() {
1420 // @@protoc_insertion_point(field_add:tensorflow.VariantTensorDataProto.tensors)
1421 return tensors_.Add();
1422}
1423inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::TensorProto >&
1424VariantTensorDataProto::tensors() const {
1425 // @@protoc_insertion_point(field_list:tensorflow.VariantTensorDataProto.tensors)
1426 return tensors_;
1427}
1428
1429#ifdef __GNUC__
1430 #pragma GCC diagnostic pop
1431#endif // __GNUC__
1432// -------------------------------------------------------------------
1433
1434
1435// @@protoc_insertion_point(namespace_scope)
1436
1437} // namespace tensorflow
1438
1439// @@protoc_insertion_point(global_scope)
1440
1441#include <google/protobuf/port_undef.inc>
1442#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fframework_2ftensor_2eproto
1443